]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.c
Assemble: don't auto-assemble if any arrays are listed in mdadm.conf
authorNeilBrown <neilb@suse.de>
Thu, 20 Nov 2008 06:02:55 +0000 (17:02 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 20 Nov 2008 06:02:55 +0000 (17:02 +1100)
commita30b2ecd4a4215b0c0017edc6df538c264a97e85
tree7884dd2ba88af4acdc911307d687a2688e924874
parente8a70c89585ddca2bcb4160808f64506c64df13b
Assemble: don't auto-assemble if any arrays are listed in mdadm.conf

Auto-assembly and planned assembly don't really work well together,
it can be confusing.
In particular in mkinitrd or similar creates an mdadm.conf to
assemble a particular array, we shouldn't go assembling any
other arrays as well.

If you want auto assembly, you need to give mdadm a config
file with no ARRAY lines.
  mdadm -Ascpartitions
can do this.

Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.c