]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.8.in
config: read /etc/mdadm.conf.d as well as /etc/mdadm.conf
authorNeilBrown <neilb@suse.de>
Mon, 2 Sep 2013 23:29:52 +0000 (09:29 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 2 Sep 2013 23:29:52 +0000 (09:29 +1000)
commit9dc70cbc54194ec248321acd488bbaeefa41c5eb
tree9bf1b24190d40944c81d8103c00c09aeb0f92fb2
parent343b7e75e886c3b1d38fdedf1ecc2e9cd7ec96ad
config: read /etc/mdadm.conf.d as well as /etc/mdadm.conf

If a configfile is explicitly given, just that file or directory
is read. Otherwise we now read both a file
  /etc/mdadm.conf
and a directory
  /etc/mdadm.conf.d

This allows a transition to directory based config, which in turn
allows easy control from scripts.

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