On Wednesday January 7, chr...@debian.org wrote: > Package: mdadm > Version: 2.6.7-1 > Severity: wishlist > > It'd nice if the help printed out when running mdadm -G --help also > mentioned the "max" parameter that can be passed to the -z option. Just > a one-line mention would be fine. (I know it's already in the manpage... > I found it trying to come up by hand with the right block size to pass.) > Because otherwise reading the help text gives the impression that you > *have* to specify the maximum size manually, which isn't the case with > the "max" argument. Also, I suspect said "max" argument is passed to -z > a fair bit more often than a numerical value. (It's certainly much less > error-prone).
Thanks for the suggestion. I have added the following patch in 'upstream'. NeilBrown >From 0083584d5e8162f684112ed32da19888831d3190 Mon Sep 17 00:00:00 2001 From: NeilBrown <ne...@suse.de> Date: Mon, 2 Feb 2009 10:58:08 +1100 Subject: [PATCH] Document 'max' option to --grow --size in --help output. Suggestion from Christian Hudon <chr...@debian.org> Signed-off-by: NeilBrown <ne...@suse.de> --- ReadMe.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ReadMe.c b/ReadMe.c index 88c4433..3164322 100644 --- a/ReadMe.c +++ b/ReadMe.c @@ -517,7 +517,8 @@ char Help_grow[] = " --layout= -p : For a FAULTY array, set/change the error mode.\n" " --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" +" : with larger devices. Value is in Kilobytes, or\n" +" : the special word 'max' meaning 'as large as possible'.\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" -- 1.5.6.5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org