Changeset 274 in MondoRescue for trunk/mondo/mondo/common/libmondo-raid.c


Ignore:
Timestamp:
Jan 3, 2006, 4:15:54 PM (18 years ago)
Author:
bcornec
Message:

merge -r272:273 $SVN_M/branches/2.06

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-raid.c

    r87 r274  
    4949    if (raidno == -1) {
    5050        asprintf(&command,
    51                  "cat /proc/mdstat | grep \"linear\" > /dev/null 2> /dev/null");
     51                 "grep \"linear\" /proc/mdstat > /dev/null 2> /dev/null");
    5252    } else {
    5353        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",
    5555                 raidno);
    5656    }
Note: See TracChangeset for help on using the changeset viewer.