path: root/
diff options
authormartin f. krafft <>2018-05-15 12:10:33 +0100
committerDimitri John Ledkov <>2018-05-15 12:10:33 +0100
commitbb29ccb7241e6871fa4ef008d45b7c0dade873bc (patch)
tree08d471aedc46d75ee4e4bd5d3f50abd64cf85f88 /
parent0a7e47e72a9ceaecdeeb960a511281b6fe5b5b4e (diff)
Set /etc/mdadm/mdadm.conf as primary config file location
On Debian, the configuration file resides primarily in /etc/mdadm/mdadm.conf, /etc/mdadm.conf is only used as a backup. This is a Debian-specific patch. Forwarded: not-needed Reviewed-by: martin f. krafft <> Gbp-Pq: Name debian-conffile-location.diff
Diffstat (limited to '')
1 files changed, 8 insertions, 8 deletions
diff --git a/ b/
index ea45bbc8..eeea6e40 100644
--- a/
+++ b/
@@ -267,13 +267,13 @@ the exact meaning of this option in different contexts.
.BR \-c ", " \-\-config=
Specify the config file or directory. Default is to use
-.B /etc/mdadm.conf
+.B /etc/mdadm/mdadm.conf
-.BR /etc/mdadm.conf.d ,
+.BR /etc/mdadm/mdadm.conf.d ,
or if those are missing then
-.B /etc/mdadm/mdadm.conf
+.B /etc/mdadm.conf
-.BR /etc/mdadm/mdadm.conf.d .
+.BR /etc/mdadm.conf.d .
If the config file given is
.B "partitions"
then nothing will be read, but
@@ -1952,9 +1952,9 @@ The config file is only used if explicitly named with
or requested with (a possibly implicit)
.BR \-\-scan .
In the later case,
-.B /etc/mdadm.conf
.B /etc/mdadm/mdadm.conf
+.B /etc/mdadm.conf
is used.
@@ -3276,7 +3276,7 @@ uses this to find arrays when
is given in Misc mode, and to monitor array reconstruction
on Monitor mode.
-.SS /etc/mdadm.conf
+.SS /etc/mdadm/mdadm.conf (or /etc/mdadm.conf)
The config file lists which devices may be scanned to see if
they contain MD super block, and gives identifying information
@@ -3284,7 +3284,7 @@ they contain MD super block, and gives identifying information
.BR mdadm.conf (5)
for more details.
-.SS /etc/mdadm.conf.d
+.SS /etc/mdadm/mdadm.conf.d (or /etc/mdadm.conf.d)
A directory containing configuration files which are read in lexical