diff options
author | NeilBrown <neilb@suse.de> | 2010-02-04 17:34:06 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-02-04 17:34:06 +1100 |
commit | a9596b79a316404bbb4e3792c97b3d0a597ec885 (patch) | |
tree | e158d7fc98c982462292f637a5d5a6f68d64cf1b /mdmon.c | |
parent | 5d4d1b26d3da8b489ed7e2f5a38f7d90b7f4008f (diff) |
mdmon: recognise --all in place of /proc/mdstat
It seems more meaningful.
Keep the old option as well for back compatibility.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdmon.c')
-rw-r--r-- | mdmon.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -274,7 +274,8 @@ int main(int argc, char *argv[]) usage(); } - if (strcmp(container_name, "/proc/mdstat") == 0) { + if (strcmp(container_name, "/proc/mdstat") == 0 || + strcmp(container_name, "--all") == 0) { struct mdstat_ent *mdstat, *e; /* launch an mdmon instance for each container found */ |