Thread (2 messages) 2 messages, 2 authors, 2008-07-29

Re: cosmetic bug in mdadm

flat view

From: Mr. James W. Laferriere <hidden>
Date: 2008-07-29 02:06:58

Possibly related (same subject, not in this thread)

	Hello Neil ,  See below ...

On Tue, 29 Jul 2008, Neil Brown wrote:
quoted hunk ↗ jump to hunk
On Monday July 28, jnelson-linux-raid@jamponi.net wrote:
quoted
mdadm --grow --help shows

  --raid-disks=  -n   : Change the number of active devices in an array.
                      : array.

but the manpage uses:

  --raid-devices

The latter should be preferred?
Also, a --grow fails without a spare or --backup-file, however
--backup-file is only in the manpage, not in the --help. That's pretty
minor but useful.
Fair comments.
Does this address your observations suitably?

Thanks.
NeilBrown


diff --git a/ReadMe.c b/ReadMe.c
index 0a736ed..7a67158 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -518,9 +518,12 @@ 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"
+"  --raid-devices= -n  : Change the number of active devices in an array.\n"
"                      : array.\n"
	To what command  ^^^^^^^^^^^ is this associated in the --help output ?

	Hth ,  JimL
-- 
+------------------------------------------------------------------+
| James   W.   Laferriere | System    Techniques | Give me VMS     |
| Network&System Engineer | 2133    McCullam Ave |  Give me Linux  |
| babydr@baby-dragons.com | Fairbanks, AK. 99701 |   only  on  AXP |
+------------------------------------------------------------------+
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help