]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.8.in
config: support MDADM_CONF_AUTO= env var.
authorNeilBrown <neilb@suse.de>
Tue, 3 Sep 2013 03:25:02 +0000 (13:25 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 3 Sep 2013 03:25:02 +0000 (13:25 +1000)
commit2dfb675b94852f4a1a4ec24528292dd0e8f96c89
tree81420f1b9d03b52cadd19f65acbe833e3cfd737d
parent824e57276a32684a32ef4d36c0caddd1d2b9b2a2
config: support MDADM_CONF_AUTO= env var.

If a distribution allows the choice between using mdadm and
dmraid for DDF and IMSM to be made by some config file
(/etc/defaults/ /sys/sysconfig/ etc) which is queried by
/etc/init.d scripts, then the fact that mdadm implements this
choce through the config file is not very helpful.

So allow the "AUTO" line to be specified in part using MDADM_CONF_AUTO
in environment.

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