On Friday June 16, [EMAIL PROTECTED] wrote:
>       Hello Neil ,  If I add any disk partition to end of the below command as
>       man mdadm requests .  Ok ,  Now I get it ,  "partitions" or "none" are
>       required .  But still ...
> 
>       <Quote>
>       mdadm --examine --brief --scan --config=partitions
>       mdadm -Ebsc partitions
>       Create  a list of devices by reading /proc/partitions, scan these for 
> RAID superblocks, and printout a brief listing of all that was found.
>       <\Quote>
> 
> [EMAIL PROTECTED]:~# mdadm -Ebsc
> mdadm: option requires an argument -- c

Yes, it requires an argument.  The argument in I gave in the example
was 'partitions'.


> Usage: mdadm --help
>    for help
> 
>       Ok ,  But when I do a ...
> 
> [EMAIL PROTECTED]:~# mdadm -Ebsc --help
> ARRAY /dev/md0 level=raid1 num-devices=2 
> UUID=8d5cd2c7:42544200:d2bdaaad:ce1bab0c
> ARRAY /dev/md1 level=raid1 num-devices=2 
> UUID=e8a0caca:1e477715:f7f74d6b:88dd401c
> ARRAY /dev/md3 level=raid1 num-devices=2 
> UUID=a87d5acf:17038a98:03577e48:76e31d5c
> ARRAY /dev/md2 level=raid1 num-devices=2 
> UUID=8f4b56fa:840ad5eb:0c28a667:6a46f759
> 
>       I was expecting a help readout not the command to actually function .

Yes, maybe it should have complained that '--help' was not a valid
config file, which is what that command is suggesting.

Putting '--help' first leaves less room for confusion, not that it
would have helped much in this case. :-(

$ ./mdadm --help -Ebsc
./mdadm: option requires an argument -- c
Usage: mdadm --help
  for help


NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to