diff options
author | NeilBrown <neilb@suse.de> | 2008-08-01 08:48:08 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-08-01 08:48:08 +0200 |
commit | e5669f40047ba0a8354418d0af5f7e7d862aaea4 (patch) | |
tree | 266650cfd00f963651c935dc238a795d346cf423 | |
parent | Clean up usage of open() (diff) | |
download | mdadm-e5669f40047ba0a8354418d0af5f7e7d862aaea4.tar.xz mdadm-e5669f40047ba0a8354418d0af5f7e7d862aaea4.zip |
Cosmetic cleanup of some messages.
e.g. --raid-disks is preferred over --raid-devices.
Thanks to "Jon Nelson" <jnelson-linux-raid@jamponi.net>
Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r-- | ReadMe.c | 6 | ||||
-rw-r--r-- | mdadm.8 | 2 | ||||
-rw-r--r-- | mdadm.c | 4 |
3 files changed, 7 insertions, 5 deletions
@@ -518,9 +518,11 @@ char Help_grow[] = " --size= -z : Change the active size of devices in an array.\n" " : This is useful if all devices have been replaced\n" " : with larger devices.\n" -" --raid-disks= -n : Change the number of active devices in an array.\n" -" : array.\n" +" --raid-devices= -n : Change the number of active devices in an array.\n" " --bitmap= -b : Add or remove a write-intent bitmap.\n" +" --backup-file= file : A file on a differt device to store data for a\n" +" : short time while increasing raid-devices on a\n" +" : RAID4/5/6 array. Not needed when a spare is present.\n" ; char Help_incr[] = @@ -1729,7 +1729,7 @@ Currently the only support available is to change the "size" attribute for RAID1, RAID5 and RAID6. .IP \(bu 4 -increase the "raid-disks" attribute of RAID1, RAID5, and RAID6. +increase the "raid\-devices" attribute of RAID1, RAID5, and RAID6. .IP \(bu 4 add a write-intent bitmap to any array which supports these bitmaps, or remove a write-intent bitmap from such an array. @@ -1155,7 +1155,7 @@ int main(int argc, char *argv[]) break; } if (raiddisks == 0) { - fprintf(stderr, Name ": no raid-disks specified.\n"); + fprintf(stderr, Name ": no raid-devices specified.\n"); rv = 1; break; } @@ -1179,7 +1179,7 @@ int main(int argc, char *argv[]) break; } if (raiddisks == 0) { - fprintf(stderr, Name ": no raid-disks specified.\n"); + fprintf(stderr, Name ": no raid-devices specified.\n"); rv = 1; break; } |