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

@ -542,13 +542,13 @@ char Help_incr[] =
"devices, it will be started.\n"
"\n"
"Options that are valid with incremental assembly (-I --incremental) more are:\n"
" --run -R : run arrays as soon as a minimal number of devices are\n"
" : present rather than waiting for all expected.\n"
" --quiet -q : Don't print any information messages, just errors.\n"
" --rebuild -r : Rebuild the 'map' file that mdadm uses for tracking\n"
" : partial arrays.\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"
" --run -R : run arrays as soon as a minimal number of devices are\n"
" : present rather than waiting for all expected.\n"
" --quiet -q : Don't print any information messages, just errors.\n"
" --rebuild-map -r : Rebuild the 'map' file that mdadm uses for tracking\n"
" : partial arrays.\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"
;
char Help_config[] =

View File

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