Public bug reported:

Binary package hint: mdadm

According to `mdadm --create --help':

--name=, -N: Textual name for array - max 32 characters

According to `man mdadm':

-N, --name=
Set a name for the array. This is currently only effective when creating an 
array with a version-1 superblock. The name is a simple textual string that can 
be used to identify array components when assembling.

Both show that -N is a valid short option for --name. However, see this
output:

r...@delan:~# mdadm -C /dev/md0 -N 'Green' -l 5 -e 1.0 -n 4 /dev/sdb1 /dev/sdc1 
/dev/sdd1 /dev/sde1
mdadm: invalid option -- 'N'
Usage: mdadm --help
  for help
r...@delan:~# mdadm -C /dev/md0 --name 'Green' -l 5 -e 1.0 -n 4 /dev/sdb1 
/dev/sdc1 /dev/sdd1 /dev/sde1
mdadm: array /dev/md0 started.

** Affects: mdadm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/694878

Title:
  mdadm accepts --name but not -N

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to