Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 300840

Summary: sys-fs/mdadm-3.0 mentions -N in the man page, does does not accept it
Product: Gentoo Linux Reporter: DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: minor    
Priority: High    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.