Correct documentation for --rebuild-map

In some places it is referred to as "--rebuild", and while
that works due to getopt allowing prefixes, it could appear
confusing (rebuild means other things too) and being explicit
is some safeguard if we want to add e.g. --rebuild-foo later.

Reported-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2010-06-30 16:52:54 +10:00
parent b6d7a7fbaa
commit 7e6140e6c6
2 changed files with 9 additions and 9 deletions

View File

@ -545,7 +545,7 @@ char Help_incr[] =
" --run -R : run arrays as soon as a minimal number of devices are\n" " --run -R : run arrays as soon as a minimal number of devices are\n"
" : present rather than waiting for all expected.\n" " : present rather than waiting for all expected.\n"
" --quiet -q : Don't print any information messages, just errors.\n" " --quiet -q : Don't print any information messages, just errors.\n"
" --rebuild -r : Rebuild the 'map' file that mdadm uses for tracking\n" " --rebuild-map -r : Rebuild the 'map' file that mdadm uses for tracking\n"
" : partial arrays.\n" " : partial arrays.\n"
" --scan -s : Use with -R to start any arrays that have the minimal\n" " --scan -s : Use with -R to start any arrays that have the minimal\n"
" : required number of devices, but are not yet started.\n" " : required number of devices, but are not yet started.\n"

View File

@ -2145,7 +2145,7 @@ Usage:
.I component-device .I component-device
.HP 12 .HP 12
Usage: Usage:
.B mdadm \-\-incremental \-\-rebuild .B mdadm \-\-incremental \-\-rebuild\-map
.HP 12 .HP 12
Usage: Usage:
.B mdadm \-\-incremental \-\-run \-\-scan .B mdadm \-\-incremental \-\-run \-\-scan
@ -2391,7 +2391,7 @@ pid of mdadm daemon to
Try to incorporate newly discovered device into some array as Try to incorporate newly discovered device into some array as
appropriate. appropriate.
.B " mdadm \-\-incremental \-\-rebuild \-\-run \-\-scan" .B " mdadm \-\-incremental \-\-rebuild\-map \-\-run \-\-scan"
.br .br
Rebuild the array map from any current arrays, and then start any that Rebuild the array map from any current arrays, and then start any that
can be started. can be started.