]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
Config: use better device names for "DEVICES container"
authorNeilBrown <neilb@suse.de>
Tue, 2 Jul 2013 00:46:43 +0000 (10:46 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 2 Jul 2013 00:46:43 +0000 (10:46 +1000)
commiteb2306f8411070bc7bcd46ad8fee0f02c826380a
tree5c6f4ea1dfcff54dd2f83f5f81bce779ea416908
parentbabb8dd4274c80b08af3f583a136a9f12e9b5f69
Config: use better device names for "DEVICES container"

When "containers" appears on the "DEVICES" line (which is does by
default), use names from the mdadm map file instead of kernel names,
when possible.
This mean that the name will be more likely to appear in mdadm.conf
and so more likely to match "container=" tags.

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