mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-19 14:04:17 +03:00
man: better formatting for lvm dumpconfig man page
This commit is contained in:
parent
801d43445d
commit
6d314466f3
@ -6,7 +6,7 @@ lvm-dumpconfig \- dump LVM configuration
|
|||||||
.RB [ \-f | \-\-file ]
|
.RB [ \-f | \-\-file ]
|
||||||
.IR filename ]
|
.IR filename ]
|
||||||
.RB [ \-\-type
|
.RB [ \-\-type
|
||||||
.IR {current|default|diff|missing|new|profilable}
|
.RI { current | default | diff | missing | new | profilable }
|
||||||
.RB [ \-\-atversion
|
.RB [ \-\-atversion
|
||||||
.IR version ]
|
.IR version ]
|
||||||
.RB [ \-\-ignoreadvanced ]
|
.RB [ \-\-ignoreadvanced ]
|
||||||
@ -21,11 +21,12 @@ lvm-dumpconfig \- dump LVM configuration
|
|||||||
lvm dumpconfig produces formatted output with LVM configuration tree.
|
lvm dumpconfig produces formatted output with LVM configuration tree.
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
|
.TP
|
||||||
.IP "\fB\-f, \-\-file\fP \fI filename"
|
.BR \-f ", " \-\-file " \fIfilename"
|
||||||
Dump configuration to a file named 'filename'.
|
Dump configuration to a file named 'filename'.
|
||||||
|
|
||||||
.IP "\fB\-\-type\fP \fI {current|default|diff|missing|new|profilable}"
|
.TP
|
||||||
|
.IR \fB\-\-type " {" current | default | diff | missing | new | profilable }
|
||||||
Select the type of configuration to dump. The configuration settings dumped
|
Select the type of configuration to dump. The configuration settings dumped
|
||||||
have either default values or currently used values assigned based on the
|
have either default values or currently used values assigned based on the
|
||||||
type selected (if no type is selected, \fB\-\-type current\fP is used
|
type selected (if no type is selected, \fB\-\-type current\fP is used
|
||||||
@ -56,7 +57,8 @@ Dump all profilable configuration settings with default values assigned.
|
|||||||
See \fBlvm.conf\fP(5) for more info about \fBprofile config\fP method.
|
See \fBlvm.conf\fP(5) for more info about \fBprofile config\fP method.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.IP "\fB\-\-atversion\fP version"
|
.TP
|
||||||
|
.BI \-\-atversion " version"
|
||||||
Specify an LVM version in x.y.z format where x is the major version,
|
Specify an LVM version in x.y.z format where x is the major version,
|
||||||
the y is the minor version and z is the patchlevel (e.g. 2.2.106).
|
the y is the minor version and z is the patchlevel (e.g. 2.2.106).
|
||||||
When configuration is dumped, the configuration settings recognized
|
When configuration is dumped, the configuration settings recognized
|
||||||
@ -65,30 +67,36 @@ to dump a configuration that certain LVM version understands and
|
|||||||
which does not contain any newer settings for which LVM would
|
which does not contain any newer settings for which LVM would
|
||||||
issue a warning message when checking the configuration.
|
issue a warning message when checking the configuration.
|
||||||
|
|
||||||
.IP "\fB\-\-ignoreadvanced\fP"
|
.TP
|
||||||
|
.B \-\-ignoreadvanced
|
||||||
Ignore advanced configuration settings on dump.
|
Ignore advanced configuration settings on dump.
|
||||||
|
|
||||||
.IP "\fB\-\-ignoreunsupported\fP"
|
.TP
|
||||||
|
.B \-\-ignoreunsupported
|
||||||
Ignore unsupported configuration settings on dump. These settings are
|
Ignore unsupported configuration settings on dump. These settings are
|
||||||
either used for debugging purposes only or their support is not yet
|
either used for debugging purposes only or their support is not yet
|
||||||
complete and they are not meant to be used in production.
|
complete and they are not meant to be used in production.
|
||||||
|
|
||||||
.IP "\fB\-\-mergedconfig\fP"
|
.TP
|
||||||
|
.B \-\-mergedconfig
|
||||||
When the dumpconfig command is run with the \fB\-\-config\fP option
|
When the dumpconfig command is run with the \fB\-\-config\fP option
|
||||||
(a common option that is recognized by all LVM tools, see also
|
(a common option that is recognized by all LVM tools, see also
|
||||||
\fBlvm\fP(8)), merge this configuration with current configuration
|
\fBlvm\fP(8)), merge this configuration with current configuration
|
||||||
used (see \fB\-\-type current\fP above). Otherwise, only the
|
used (see \fB\-\-type current\fP above). Otherwise, only the
|
||||||
configuration specified within \fB\-\-config\fP option is dumped.
|
configuration specified within \fB\-\-config\fP option is dumped.
|
||||||
|
|
||||||
.IP "\fB\-\-validate\fP"
|
.TP
|
||||||
|
.B \-\-validate
|
||||||
Validate current configuration used and exit with appropriate
|
Validate current configuration used and exit with appropriate
|
||||||
return code. The validation is done even if \fBconfig/checks\fP
|
return code. The validation is done even if \fBconfig/checks\fP
|
||||||
\fBlvm.conf\fP(5) option is disabled.
|
\fBlvm.conf\fP(5) option is disabled.
|
||||||
|
|
||||||
.IP "\fB\-\-withcomments\fP"
|
.TP
|
||||||
|
.B \-\-withcomments
|
||||||
Also dump comments for each configuration node.
|
Also dump comments for each configuration node.
|
||||||
|
|
||||||
.IP "\fB\-\-withversions\fP"
|
.TP
|
||||||
|
.B \-\-withversions
|
||||||
Also dump a comment containing the version of introduction for
|
Also dump a comment containing the version of introduction for
|
||||||
each configuration node.
|
each configuration node.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user