mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
man/lvm.conf: Update to reflect changes in config parser.
This commit is contained in:
parent
14472d62ba
commit
1445a74d76
@ -114,7 +114,9 @@ A value can either be a new section, or an assignment.
|
|||||||
.TP
|
.TP
|
||||||
.BR section " = " identifier " '" { "' " value "* '" } '
|
.BR section " = " identifier " '" { "' " value "* '" } '
|
||||||
.br
|
.br
|
||||||
A section is groups associated values together.
|
A section groups associated values together. If the same section is
|
||||||
|
encountered multiple times, the contents of all instances are concatenated
|
||||||
|
together in the order of appearance.
|
||||||
.br
|
.br
|
||||||
It is denoted by a name and delimited by curly brackets.
|
It is denoted by a name and delimited by curly brackets.
|
||||||
.br
|
.br
|
||||||
@ -126,9 +128,13 @@ e.g. backup {
|
|||||||
.TP
|
.TP
|
||||||
.BR assignment " = " identifier " '" = "' ( " array " | " type " )"
|
.BR assignment " = " identifier " '" = "' ( " array " | " type " )"
|
||||||
.br
|
.br
|
||||||
An assignment associates a type with an identifier.
|
An assignment associates a type with an identifier. If the identifier contains
|
||||||
|
forward slashes, those are interpreted as path delimiters. The statement
|
||||||
|
\fBsection/key = value\fP is equivalent to \fBsection { key = value }\fP. If
|
||||||
|
multiple instances of the same key are encountered, only the last value is used
|
||||||
|
(and a warning is issued).
|
||||||
.br
|
.br
|
||||||
e.g. level = 7
|
e.g. \fBlevel = 7\fP
|
||||||
.br
|
.br
|
||||||
.TP
|
.TP
|
||||||
.BR array " = '" [ "' ( " type " '" , "')* " type " '" ] "' | '" [ "' '" ] '
|
.BR array " = '" [ "' ( " type " '" , "')* " type " '" ] "' | '" [ "' '" ] '
|
||||||
@ -146,7 +152,8 @@ An empty array is acceptable.
|
|||||||
.br
|
.br
|
||||||
.B string \fR= '\fB"\fR'.*'\fB"\fR'
|
.B string \fR= '\fB"\fR'.*'\fB"\fR'
|
||||||
.IP
|
.IP
|
||||||
Strings must be enclosed in double quotes.
|
Strings with spaces must be enclosed in double quotes, single words that start
|
||||||
|
with a letter can be left unquoted.
|
||||||
|
|
||||||
.SH SECTIONS
|
.SH SECTIONS
|
||||||
.LP
|
.LP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user