master - man: add a note about --profile when using dumpconfig --mergedconfig
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=13009adbf266b5e72eeb882286b43948b15cd49b Commit: 13009adbf266b5e72eeb882286b43948b15cd49b Parent: 68bb639a08330c7f06558e51ecab48d6a4ca2854 Author: Peter Rajnoha <[email protected]> AuthorDate: Tue Apr 1 11:19:38 2014 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Tue Apr 1 11:19:38 2014 +0200
man: add a note about --profile when using dumpconfig --mergedconfig
--- man/lvm-dumpconfig.8.in | 10 ++++++---- man/lvm.conf.5.in | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-)
man/lvm-dumpconfig.8.in +6 -4
@@ -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
man/lvm.conf.5.in +1 -1
@@ -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.