mdadm accepts --name but not -N

Bug #694878 reported by Delan Azabani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
New
Undecided
Unassigned

Bug Description

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:

root@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
root@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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.