Changeset 274 in MondoRescue for trunk/mondo/mondo/common/libmondo-raid.c
- Timestamp:
- Jan 3, 2006, 4:15:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-raid.c
r87 r274 49 49 if (raidno == -1) { 50 50 asprintf(&command, 51 " cat /proc/mdstat | grep \"linear\"> /dev/null 2> /dev/null");51 "grep \"linear\" /proc/mdstat > /dev/null 2> /dev/null"); 52 52 } else { 53 53 asprintf(&command, 54 " cat /proc/mdstat | grep \"raid%d\"> /dev/null 2> /dev/null",54 "grep \"raid%d\" /proc/mdstat > /dev/null 2> /dev/null", 55 55 raidno); 56 56 }
Note:
See TracChangeset
for help on using the changeset viewer.