summaryrefslogtreecommitdiff
path: root/mdadm.conf.5
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-05-11 15:18:35 +1000
committerNeilBrown <neilb@suse.de>2009-05-11 15:18:35 +1000
commitdb2d001cee64cd330cc2ab24ddefed48eb67fc7b (patch)
treefc0b9dc7a4bfac82f6a823d8e70b59df8a0eac8b /mdadm.conf.5
parentaa7c284c06ba046039f60ceb4e3fb422967d354f (diff)
config: allow Array line to contain array name without /dev/md/ prefix.
For consistency with --create and --assemble, allow the array name given in mdadm.conf to exclude the "/dev/md/" prefix. So e.g. ARRAY home uuid=whatever is treated like ARRAY /dev/md/home uuid=whatever Also exclude names which create_mddev will reject. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.conf.5')
-rw-r--r--mdadm.conf.510
1 files changed, 8 insertions, 2 deletions
diff --git a/mdadm.conf.5 b/mdadm.conf.5
index f69c0b0f..9876d279 100644
--- a/mdadm.conf.5
+++ b/mdadm.conf.5
@@ -95,14 +95,20 @@ DEVICE partitions
The ARRAY lines identify actual arrays. The second word on the line
may be the name of the device where the array is normally
assembled, such as
-.BR /dev/md1 .
+.B /dev/md1
+or
+.BR /dev/md/backup .
+If the name does not start with a slash
+.RB (' / '),
+it is treated as being in
+.BR /dev/md/ .
Alternately the word
.B <ignore>
(complete with angle brackets) can be given in which case any array
which matches the rest of the line will never be automatically assembled.
If no device name is given,
.I mdadm
-will use various heuristic to determine an appropriate name.
+will use various heuristics to determine an appropriate name.
.PP
Subsequent words identify the array, or identify the array as a member
of a group. If multiple identities are given,