summaryrefslogtreecommitdiff
path: root/mdadm.conf.5
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-09-03 10:05:59 +1000
committerNeilBrown <neilb@suse.de>2013-09-03 10:05:59 +1000
commit3c6e95c1aa73b54865c96b1c298ce8e405038b00 (patch)
treea2ed86beba410150bb41e35917239dce64cf688c /mdadm.conf.5
parent9dc70cbc54194ec248321acd488bbaeefa41c5eb (diff)
Config: multiple occurences of lines is not an error.
As we now support config directories it is helpful if lines are allowed to occur multiple times with one over-riding the other. So stop giving warnings when later lines are ignored. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.conf.5')
-rw-r--r--mdadm.conf.513
1 files changed, 10 insertions, 3 deletions
diff --git a/mdadm.conf.5 b/mdadm.conf.5
index 6d9b2a4a..088e6450 100644
--- a/mdadm.conf.5
+++ b/mdadm.conf.5
@@ -256,8 +256,8 @@ mode (and was given the
.B \-\-scan
option). There should only be one
.B MAILADDR
-line and it should have only one address.
-
+line and it should have only one address. Any subsequent addresses
+are silently ignored.
.TP
.B MAILFROM
@@ -397,7 +397,9 @@ is given it is also possible to give an explicit name which will be
used when creating arrays. This is the only case when there can be
more that one other word on the
.B HOMEHOST
-line.
+line. If there are other words, or other
+.B HOMEHOST
+lines, they are silently ignored.
If
.B <none>
@@ -461,6 +463,11 @@ The known metadata types are
.BR ddf ,
.BR imsm .
+.B AUTO
+should be given at most once. Subsequent lines are silently ignored.
+Thus an earlier config file in a config directory will over-ride
+the setting in a later config file.
+
.TP
.B POLICY
This is used to specify what automatic behavior is allowed on devices