Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300840 - sys-fs/mdadm-3.0 mentions -N in the man page, does does not accept it
Summary: sys-fs/mdadm-3.0 mentions -N in the man page, does does not accept it
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 14:45 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2010-06-03 01:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2010-01-13 14:45:55 UTC
uranus ~ # mdadm -A -Nswap
mdadm: invalid option -- 'N'
Usage: mdadm --help
  for help
uranus ~ # mdadm -A -N swap
mdadm: invalid option -- 'N'
Usage: mdadm --help
  for help
uranus ~ # man mdadm
uranus ~ # mdadm -A --name swap
mdadm: an md device must be given in this mode
uranus ~ # mdadm -A /dev/md3 --name swap
uranus ~ # mdadm -A /dev/md3 --name swap
uranus ~ # mdadm -A /dev/md3 -N swap
mdadm: invalid option -- 'N'
Usage: mdadm --help
  for help
uranus ~ #

Read man mdadm, and you will see that "-N" should be a valid option.
Comment 1 SpanKY gentoo-dev 2010-06-03 01:26:52 UTC
current man page says that -N applies only to "create, build, or grow".  assemble is none of those, so rejecting -N is correct behavior.