1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

man: add a note about --profile when using dumpconfig --mergedconfig

This commit is contained in:
Peter Rajnoha 2014-04-01 11:19:38 +02:00
parent 68bb639a08
commit 13009adbf2
2 changed files with 7 additions and 5 deletions

View File

@ -80,10 +80,12 @@ complete and they are not meant to be used in production.
.TP
.B \-\-mergedconfig
When the dumpconfig command is run with the \fB\-\-config\fP option
(a common option that is recognized by all LVM tools, see also
\fBlvm\fP(8)), merge this configuration with current configuration
used (see \fB\-\-type current\fP above). Otherwise, only the
configuration specified within \fB\-\-config\fP option is dumped.
and/or \fB\-\-profile\fP option (common options that are recognized
by all LVM tools, see also \fBlvm\fP(8)), merge the \fB\-\-config\fP
and/or \fB\-\-profile\fP config with current configuration used
(see \fB\-\-type current\fP above). Otherwise, only the configuration
specified within \fB\-\-config\fP or \fB\-\-profile\fP option is dumped
(see also \fBlvm.conf\fP(5) for more info about \fBconfig cascade\fP).
.TP
.B \-\-validate

View File

@ -67,7 +67,7 @@ exactly the same format as used in any LVM configuration file.
.LP
When several configuration methods are used at the same time
and when LVM looks for the value of a particular setting, it traverses
this cascade from left to right:
this \fBconfig cascade\fP from left to right:
\fBdirect config override on command line\fP -> \fBprofile config\fP -> \fBtag config\fP -> \fBlvm.conf\fP.
No part of this cascade is compulsory. If there's no setting value found at
the end of the cascade, a default value is used for that setting.