diff options
author | NeilBrown <neilb@suse.de> | 2013-05-13 03:28:15 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-05-13 03:28:15 +0200 |
commit | 7df8a7b971b3d0dd5b45d646fd601f0acccafabc (patch) | |
tree | 9fbed2ed28efdbea39ba693a6cb472269a8922c9 /mdadm.conf.5 | |
parent | Manage: support --fail set-X and --remove set-X (diff) | |
download | mdadm-7df8a7b971b3d0dd5b45d646fd601f0acccafabc.tar.xz mdadm-7df8a7b971b3d0dd5b45d646fd601f0acccafabc.zip |
mdadm.conf.5: document the use of quotation characters in mdadm.conf
single or double quotes protect spaces and double or single quotes.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.conf.5')
-rw-r--r-- | mdadm.conf.5 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mdadm.conf.5 b/mdadm.conf.5 index 8a21fcc4..4ff0a243 100644 --- a/mdadm.conf.5 +++ b/mdadm.conf.5 @@ -25,6 +25,16 @@ space (space, tab, or newline). Any word that beings with a hash sign (#) starts a comment and that word together with the remainder of the line is ignored. +Spaces can be included in a word using quotation characters. Either +single quotes +.RB ( ' ) +or double quotes (\fB"\fP) +may be used. All the characters from one quotation character to +next identical character are protected and will not be used to +separate words to start new quoted strings. To include a single quote +it must be between double quotes. To include a double quote it must +be between single quotes. + Any line that starts with white space (space or tab) is treated as though it were a continuation of the previous line. @@ -550,6 +560,10 @@ ARRAY /dev/md/home UUID=9187a482:5dde19d9:eea3cc4a:d646ab8b .br auto=part .br +# The name of this array contains a space. +.br +ARRAY /dev/md9 name='Data Storage' +.sp POLICY domain=domain1 metadata=imsm path=pci-0000:00:1f.2-scsi-* .br action=spare |