master - man-generator/man/help: simplify hyphen escaping
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c2f9172123ac558ee7142e4eea4864a1e08099f4 Commit: c2f9172123ac558ee7142e4eea4864a1e08099f4 Parent: 6165e092215c795eafa297268cddbd9dade3a82c Author: Heinz Mauelshagen <[email protected]> AuthorDate: Mon Mar 27 16:45:48 2017 +0200 Committer: Heinz Mauelshagen <[email protected]> CommitterDate: Mon Mar 27 16:45:48 2017 +0200
man-generator/man/help: simplify hyphen escaping
Commits a29bb6a14b5e920092495fb9a1623e527d22daac
... 5c199d99f4dc9911d62673baba7643ea649ffe64
narrowed down on addressing the escaping of hyphens in the dynamic creation of manuals whilst avoiding them in creating help texts. This lead to a sequence of slipping through hyphens adrressed by additional patches in aforementioned commit series.
On the other hand, postproccessing dynamically man-generator created and statically provided manuals catches all hyphens in need of escaping.
Changes:
- revert the above commits whilst keeping man-generator streamlining and the detection of any '\' when generating help texts in order to avoid escapes to slip in
- Dynamically escape hyphens in manaual pages using sed(1) in the respective Makefile targets
- remove any manually added escaping on hyphens from any static manual sources or headers
--- man/Makefile.in | 8 + man/blkdeactivate.8_main | 54 ++-- man/clvmd.8_main | 66 +++--- man/cmirrord.8_main | 8 +- man/dmeventd.8_main | 48 ++-- man/dmfilemapd.8_main | 16 +- man/dmsetup.8_main | 256 +++++++++--------- man/dmstats.8_main | 396 +++++++++++++------------- man/fsadm.8_main | 14 +- man/lvchange.8_end | 2 +- man/lvconvert.8_des | 2 +- man/lvconvert.8_end | 56 ++-- man/lvcreate.8_des | 6 +- man/lvcreate.8_end | 44 ++-- man/lvextend.8_des | 6 +- man/lvextend.8_end | 6 +- man/lvm-config.8_des | 2 +- man/lvm-dumpconfig.8_des | 2 +- man/lvm-lvpoll.8_end | 12 +- man/lvm.8_main | 36 ++-- man/lvm.conf.5_main | 30 +- man/lvm2-activation-generator.8_main | 26 +- man/lvmcache.7_main | 112 ++++---- man/lvmconf.8_main | 48 ++-- man/lvmconfig.8_des | 2 +- man/lvmdbusd.8_main | 14 +- man/lvmdump.8_main | 58 ++-- man/lvmetad.8_main | 50 ++-- man/lvmlockctl.8_main | 36 ++-- man/lvmlockd.8_main | 124 ++++---- man/lvmpolld.8_main | 46 ++-- man/lvmraid.7_main | 518 +++++++++++++++++----------------- man/lvmreport.7_main | 258 +++++++++--------- man/lvmsadc.8_main | 2 +- man/lvmsar.8_main | 2 +- man/lvmsystemid.7_main | 34 ++-- man/lvmthin.7_main | 406 +++++++++++++------------- man/lvreduce.8_des | 6 +- man/lvreduce.8_end | 2 +- man/lvremove.8_end | 2 +- man/lvresize.8_des | 4 +- man/lvresize.8_end | 2 +- man/pvchange.8_end | 2 +- man/pvck.8_end | 4 +- man/pvcreate.8_end | 2 +- man/pvmove.8_end | 14 +- man/pvresize.8_end | 2 +- man/pvscan.8_des | 26 +- man/vgcfgbackup.8_des | 2 +- man/vgcfgrestore.8_des | 4 +- man/vgcfgrestore.8_end | 6 +- man/vgchange.8_end | 4 +- man/vgextend.8_des | 6 +- man/vgimportclone.8_end | 2 +- man/vgmerge.8_end | 2 +- man/vgremove.8_des | 2 +- man/vgrename.8_end | 2 +- tools/args.h | 162 ++++++------ tools/command.c | 95 +++---- 59 files changed, 1569 insertions(+), 1590 deletions(-)
man/Makefile.in +8 -0
@@ -173,17 +173,25 @@ define SUBSTVARS echo "Generating $@" ; $(SED) -e "s+#VERSION#+$(LVM_VERSION)+;s+#DEFAULT_SYS_DIR#+$(DEFAULT_SYS_DIR)+;s+#DEFAULT_ARCHIVE_DIR#+$(DEFAULT_ARCHIVE_DIR)+;s+#DEFAULT_BACKUP_DIR#+$(DEFAULT_BACKUP_DIR)+;s+#DEFAULT_PROFILE_DIR#+$(DEFAULT_PROFILE_DIR)+;s+#DEFAULT_CACHE_DIR#+$(DEFAULT_CACHE_DIR)+;s+#DEFAULT_LOCK_DIR#+$(DEFAULT_LOCK_DIR)+;s+#CLVMD_PATH#+/data/lvmtest/usr/sbin/clvmd+;s+#LVM_PATH#+/data/lvmtest/sbin/lvm+;s+#DEFAULT_RUN_DIR#+/var/run/lvm+;s+#DEFAULT_PID_DIR#+/var/run+;s+#SYSTEMD_GENERATOR_DIR#+$(SYSTEMD_GENERATOR_DIR)+;s+#DEFAULT_MANGLING#+$(DEFAULT_MANGLING)+;" $< > $@ endef +define ESCAPEHYPHENS + sed -i "s+\([^\\]\)--+\1\\\-\\\-+g;s+\([^\\]\)-+\1\\\-+g" $@ +endef + %.5: $(srcdir)/%.5_main $(SUBSTVARS) + $(ESCAPEHYPHENS) %.7: $(srcdir)/%.7_main $(SUBSTVARS) + $(ESCAPEHYPHENS) %.8: $(srcdir)/%.8_main $(SUBSTVARS) + $(ESCAPEHYPHENS) %.8: %.8_gen $(SUBSTVARS) + $(ESCAPEHYPHENS) install_man5: $(MAN5) $(INSTALL) -d $(MAN5DIR)
man/blkdeactivate.8_main +27 -27
122 lines not on this page · raw message
man/clvmd.8_main +33 -33
160 lines not on this page · raw message
man/cmirrord.8_main +4 -4
@@ -3,11 +3,11 @@ cmirrord \(em cluster mirror log daemon .SH SYNOPSIS -\fBcmirrord\fR [\fB\-f\fR] [\fB\-h\fR] +\fBcmirrord\fR [\fB-f\fR] [\fB-h\fR] .SH DESCRIPTION \fBcmirrord\fP is the daemon that tracks mirror log information in a cluster. -It is specific to device\-mapper based mirrors (and by extension, LVM +It is specific to device-mapper based mirrors (and by extension, LVM cluster mirrors). Cluster mirrors are not possible without this daemon running.
@@ -26,9 +26,9 @@ ignored. Active cluster mirrors should be shutdown before stopping the cluster mirror log daemon. .SH OPTIONS -.IP "\fB\-f\fR, \fB\-\-foreground\fR" 4 +.IP "\fB-f\fR, \fB--foreground\fR" 4 Do not fork and log to the terminal. -.IP "\fB\-h\fR, \fB\-\-help\fR" 4 +.IP "\fB-h\fR, \fB--help\fR" 4 Print usage. .SH SEE ALSO
man/dmeventd.8_main +24 -24
108 lines not on this page · raw message
man/dmfilemapd.8_main +8 -8
@@ -21,7 +21,7 @@ . .SH NAME . -dmfilemapd \(em device\-mapper filemap monitoring daemon +dmfilemapd \(em device-mapper filemap monitoring daemon . .SH SYNOPSIS .
@@ -44,7 +44,7 @@ dmfilemapd \(em device\-mapper filemap monitoring daemon . The dmfilemapd daemon monitors groups of \fIdmstats\fP regions that correspond to the extents of a file, adding and removing regions to -reflect the changing state of the file on\-disk. +reflect the changing state of the file on-disk. The daemon is normally launched automatically by the \fPdmstats create\fP command, but can be run manually, either to create a new
@@ -86,8 +86,8 @@ and the \fBmode\fP option for more information. .br The filemap monitoring mode the daemon should use: either "inode" (\fBDM_FILEMAP_FOLLOW_INODE\fP), or "path" -(\fBDM_FILEMAP_FOLLOW_PATH\fP), to enable follow\-inode or -follow\-path mode respectively. +(\fBDM_FILEMAP_FOLLOW_PATH\fP), to enable follow-inode or +follow-path mode respectively. . .HP .BR [foreground]
@@ -130,7 +130,7 @@ within the file system, while it is being monitored. .B Follow path .P The daemon follows the path that was given on the daemon command -line. The file descriptor referencing the file is re\-opened on each +line. The file descriptor referencing the file is re-opened on each iteration of the daemon, and the daemon will exit if no file exists at this location (a tolerance is allowed so that a brief delay between removal and replacement is permitted).
@@ -164,13 +164,13 @@ Normally the daemon is started automatically by the \fBdmstats\fP \fBcreate\fP or \fBupdate_filemap\fP commands but it can be run manually for debugging or testing purposes. .P -Start the daemon in the background, in follow\-path mode +Start the daemon in the background, in follow-path mode .br # .B dmfilemapd 3 0 /srv/images/vm.img path 0 0 3< /srv/images/vm.img .br .P -Start the daemon in follow\-inode mode, disable forking and enable +Start the daemon in follow-inode mode, disable forking and enable verbose logging .br #
@@ -208,5 +208,5 @@ Bryn M. Reeves <[email protected]> LVM2 resource page: https://www.sourceware.org/lvm2/ .br -Device\-mapper resource page: http://sources.redhat.com/dm/ +Device-mapper resource page: http://sources.redhat.com/dm/ .br
man/dmsetup.8_main +128 -128
698 lines not on this page · raw message
man/dmstats.8_main +198 -198
1,054 lines not on this page · raw message
man/fsadm.8_main +7 -7
@@ -35,32 +35,32 @@ filesystem. .SH OPTIONS . .HP -.BR \-e | \-\-ext\-offline +.BR -e | --ext-offline .br Unmount ext2/ext3/ext4 filesystem before doing resize. . .HP -.BR \-f | \-\-force +.BR -f | --force .br Bypass some sanity checks. . .HP -.BR \-h | \-\-help +.BR -h | --help .br Display the help text. . .HP -.BR \-n | \-\-dry\-run +.BR -n | --dry-run .br Print commands without running them. . .HP -.BR \-v | \-\-verbose +.BR -v | --verbose .br Be more verbose. . .HP -.BR \-y | \-\-yes +.BR -y | --yes .br Answer "yes" at any prompts. .
@@ -87,7 +87,7 @@ If \fI/dev/vg/test\fP contains ext2/ext3/ext4 filesystem it will be unmounted prior the resize. All [y/n] questions will be answered 'y'. .sp -.B fsadm \-e \-y resize /dev/vg/test 1000M +.B fsadm -e -y resize /dev/vg/test 1000M . .SH ENVIRONMENT VARIABLES .
man/lvchange.8_end +1 -1
@@ -1,4 +1,4 @@ .SH EXAMPLES Change LV permission to read-only: .sp -.B lvchange \-pr vg00/lvol1 +.B lvchange -pr vg00/lvol1
man/lvconvert.8_des +1 -1
@@ -4,7 +4,7 @@ The LV type is also called the segment type or segtype. To display the current LV type, run the command: -.B lvs \-o name,segtype +.B lvs -o name,segtype .I LV The
man/lvconvert.8_end +28 -28
135 lines not on this page · raw message
man/lvcreate.8_des +3 -3
@@ -26,11 +26,11 @@ virtual size rather than a physical size. A cache LV is the combination of a standard LV with a cache pool, used to cache active portions of the LV to improve performance. .SS Usage notes -In the usage section below, \fB\-\-size\fP \fISize\fP can be replaced -with \fB\-\-extents\fP \fINumber\fP. See both descriptions +In the usage section below, \fB--size\fP \fISize\fP can be replaced +with \fB--extents\fP \fINumber\fP. See both descriptions the options section. -In the usage section below, \fB\-\-name\fP is omitted from the required +In the usage section below, \fB--name\fP is omitted from the required options, even though it is typically used. When the name is not specified, a new LV name is generated with the "lvol" prefix and a unique numeric suffix. Also see the description in the options section.
man/lvcreate.8_end +22 -22
114 lines not on this page · raw message
man/lvextend.8_des +3 -3
@@ -2,11 +2,11 @@ lvextend extends the size of an LV. This requires allocating logical extents from the VG's free physical extents. If the extension adds a new LV segment, the new segment will use the existing segment type of the LV. -Extending a copy\-on\-write snapshot LV adds space for COW blocks. +Extending a copy-on-write snapshot LV adds space for COW blocks. Use \fBlvconvert\fP(8) to change the number of data images in a RAID or mirrored LV. -In the usage section below, \fB\-\-size\fP \fISize\fP can be replaced -with \fB\-\-extents\fP \fINumber\fP. See both descriptions +In the usage section below, \fB--size\fP \fISize\fP can be replaced +with \fB--extents\fP \fINumber\fP. See both descriptions the options section.
man/lvextend.8_end +3 -3
@@ -1,14 +1,14 @@ .SH EXAMPLES Extend the size of an LV by 54MiB, using a specific PV. .br -.B lvextend \-L +54 vg01/lvol10 /dev/sdk3 +.B lvextend -L +54 vg01/lvol10 /dev/sdk3 Extend the size of an LV by the amount of free space on PV /dev/sdk3. This is equivalent to specifying -"\-l +100%PVS" on the command line. +"-l +100%PVS" on the command line. .br .B lvextend vg01/lvol01 /dev/sdk3 Extend an LV by 16MiB using specific physical extents. .br -.B lvextend \-L+16m vg01/lvol01 /dev/sda:8\-9 /dev/sdb:8\-9 +.B lvextend -L+16m vg01/lvol01 /dev/sda:8-9 /dev/sdb:8-9
man/lvm-config.8_des +1 -1
@@ -2,4 +2,4 @@ This command is the same as \fBlvmconfig\fP(8). lvm config produces formatted output from the LVM configuration tree. The sources of the configuration data include \fBlvm.conf\fP(5) and command -line settings from \-\-config. +line settings from --config.
man/lvm-dumpconfig.8_des +1 -1
@@ -2,4 +2,4 @@ This command is the same as \fBlvmconfig\fP(8). lvm dumpconfig produces formatted output from the LVM configuration tree. The sources of the configuration data include \fBlvm.conf\fP(5) and command -line settings from \-\-config. +line settings from --config.
man/lvm-lvpoll.8_end +6 -6
@@ -8,24 +8,24 @@ To find the name of the pvmove LV that was created by an original Continue polling a pvmove operation. .br -.B lvm lvpoll \-\-polloperation pvmove vg00/pvmove0 +.B lvm lvpoll --polloperation pvmove vg00/pvmove0 Abort a pvmove operation. .br -.B lvm lvpoll \-\-polloperation pvmove \-\-abort vg00/pvmove0 +.B lvm lvpoll --polloperation pvmove --abort vg00/pvmove0 Continue polling a mirror conversion. .br -.B lvm lvpoll \-\-polloperation convert vg00/lvmirror +.B lvm lvpoll --polloperation convert vg00/lvmirror Continue mirror repair. .br -.B lvm lvpoll \-\-polloperation convert vg/damaged_mirror \-\-handlemissingpvs +.B lvm lvpoll --polloperation convert vg/damaged_mirror --handlemissingpvs Continue snapshot merge. .br -.B lvm lvpoll \-\-polloperation merge vg/snapshot_old +.B lvm lvpoll --polloperation merge vg/snapshot_old Continue thin snapshot merge. .br -.B lvm lvpoll \-\-polloperation merge_thin vg/thin_snapshot +.B lvm lvpoll --polloperation merge_thin vg/thin_snapshot
man/lvm.8_main +18 -18
@@ -11,7 +11,7 @@ lvm \(em LVM2 tools . .SH DESCRIPTION . -lvm provides the command\-line tools for LVM2. A separate +lvm provides the command-line tools for LVM2. A separate manual page describes each command in detail. .P If \fBlvm\fP is invoked with no arguments it presents a readline prompt
@@ -36,9 +36,9 @@ as "vg0/lvol0". Where a list of VGs is required but is left empty, a list of all VGs will be substituted. Where a list of LVs is required but a VG is given, a list of all the LVs in that VG will be substituted. So \fBlvdisplay vg0\fP will display all the LVs in "vg0". -Tags can also be used - see \fB\-\-addtag\fP below. +Tags can also be used - see \fB--addtag\fP below. .P -One advantage of using the built\-in shell is that configuration +One advantage of using the built-in shell is that configuration information gets cached internally between commands. .P A file containing a simple script with one command per line
@@ -47,9 +47,9 @@ executed directly if the first line is #! followed by the absolute path of \fBlvm\fP. .P Additional hyphens within option names are ignored. For example, -\fB\-\-readonly\fP and \fB\-\-read\-only\fP are both accepted. +\fB--readonly\fP and \fB--read-only\fP are both accepted. . -.SH BUILT\-IN COMMANDS +.SH BUILT-IN COMMANDS . The following commands are built into lvm without links normally being created in the filesystem for them.
@@ -60,7 +60,7 @@ normally being created in the filesystem for them. The same as \fBlvmconfig\fP(8) below. .TP .B devtypes -Display the recognised built\-in block device types. +Display the recognised built-in block device types. .TP .B dumpconfig The same as \fBlvmconfig\fP(8) below.
@@ -234,7 +234,7 @@ Scan (all disks) for Logical Volumes. The following LVM1 commands are not implemented in LVM2: .BR lvmchange ", " lvmsadc ", " lvmsar ", " pvdata . For performance metrics, use \fBdmstats\fP(8) or to manipulate the kernel -device\-mapper driver used by LVM2 directly, use \fBdmsetup\fP(8). +device-mapper driver used by LVM2 directly, use \fBdmsetup\fP(8). . .SH VALID NAMES .
@@ -253,7 +253,7 @@ least one LV that is still present. This helps to record the ancestry of thin snapshots even after some links in the chain have been removed. A reference to the historical LV 'lvol1' in VG 'vg00' would be 'vg00/-lvol1' or just '-lvol1' if the VG is already set. (The latter form must be preceded -by '\-\-' to terminate command line option processing before reaching this +by '--' to terminate command line option processing before reaching this argument.) .P There are also various reserved names that are used internally by lvm that can
@@ -288,8 +288,8 @@ When VGs with the same name exist, commands operating on all VGs will include all of the VGs with the same name. If the ambiguous VG name is specified on the command line, the command will produce an error. The error states that multiple VGs exist with the specified name. To process -one of the VGs specifically, the \-\-select option should be used with the -UUID of the intended VG: '\-\-select vg_uuid=<uuid>'. +one of the VGs specifically, the --select option should be used with the +UUID of the intended VG: '--select vg_uuid=<uuid>'. An exception is if all but one of the VGs with the shared name is foreign (see
@@ -313,9 +313,9 @@ those ranges on the specified Physical Volumes are considered. Then they try each allocation policy in turn, starting with the strictest policy (\fBcontiguous\fP) and ending with the allocation policy specified -using \fB\-\-alloc\fP or set as the default for the particular Logical +using \fB--alloc\fP or set as the default for the particular Logical Volume or Volume Group concerned. For each policy, working from the -lowest\-numbered Logical Extent of the empty Logical Volume space that +lowest-numbered Logical Extent of the empty Logical Volume space that needs to be filled, they allocate as much space as possible according to the restrictions imposed by the policy. If more space is needed, they move on to the next policy.
@@ -371,7 +371,7 @@ restrictions described above applied to each step leave the tools no discretion over the layout. To view the way the allocation process currently works in any specific -case, read the debug logging output, for example by adding \fB\-vvvv\fP to +case, read the debug logging output, for example by adding \fB-vvvv\fP to a command. . .SH LOGICAL VOLUME TYPES
@@ -384,8 +384,8 @@ and thin provisioning (\fBlvmthin\fP(7)) types are examples of this. . .SH DIAGNOSTICS . -All tools return a status code of zero on success or non\-zero on failure. -The non\-zero codes distinguish only between the broad categories of +All tools return a status code of zero on success or non-zero on failure. +The non-zero codes distinguish only between the broad categories of unrecognised commands, problems processing the command line arguments and any other failures. As LVM remains under active development, the code used in a specific case occasionally changes between releases.
@@ -409,7 +409,7 @@ File descriptor to use for report output from LVM commands. .TP .B LVM_COMMAND_PROFILE Name of default command profile to use for LVM commands. This profile -is overriden by direct use of \fB\-\-commandprofile\fP command line option. +is overriden by direct use of \fB--commandprofile\fP command line option. .TP .B LVM_RUN_BY_DMEVENTD This variable is normally set by dmeventd plugin to inform lvm2 command
@@ -464,7 +464,7 @@ Used to suppress warning messages when the configured locking is known to be unavailable. .TP .B DM_ABORT_ON_INTERNAL_ERRORS -Abort processing if the code detects a non\-fatal internal error. +Abort processing if the code detects a non-fatal internal error. .TP .B DM_DISABLE_UDEV Avoid interaction with udev. LVM will manage the relevant nodes in /dev
@@ -525,7 +525,7 @@ directly. .BR lvs (8) .BR lvscan (8) -.BR lvm2-activation\-generator (8) +.BR lvm2-activation-generator (8) .BR blkdeactivate (8) .BR lvmdump (8)
man/lvm.conf.5_main +15 -15
@@ -14,7 +14,7 @@ The settings defined in lvm.conf can be overridden by any of these extended configuration methods: .TP .B direct config override on command line -The \fB\-\-config ConfigurationString\fP command line option takes the +The \fB--config ConfigurationString\fP command line option takes the ConfigurationString as direct string representation of the configuration to override the existing configuration. The ConfigurationString is of exactly the same format as used in any LVM configuration file.
@@ -34,7 +34,7 @@ The \fBcommand profile\fP is used to override selected configuration settings at global LVM command level - it is applied at the very beginning of LVM command execution and it is used throughout the whole time of LVM command execution. The command profile is applied by using the -\fB\-\-commandprofile ProfileName\fP command line option that is recognised by +\fB--commandprofile ProfileName\fP command line option that is recognised by all LVM2 commands. The \fBmetadata profile\fP is used to override selected configuration
@@ -46,11 +46,11 @@ processed, the profile is applied automatically. If Volume Group and any of its Logical Volumes have different profiles defined, the profile defined for the Logical Volume is preferred. The metadata profile can be attached/detached by using the \fBlvchange\fP and \fBvgchange\fP commands -and their \fB\-\-metadataprofile ProfileName\fP and -\fB\-\-detachprofile\fP options or the \fB\-\-metadataprofile\fP +and their \fB--metadataprofile ProfileName\fP and +\fB--detachprofile\fP options or the \fB--metadataprofile\fP option during creation when using \fBvgcreate\fP or \fBlvcreate\fP command. -The \fBvgs\fP and \fBlvs\fP reporting commands provide \fB\-o vg_profile\fP -and \fB\-o lv_profile\fP output options to show the metadata profile +The \fBvgs\fP and \fBlvs\fP reporting commands provide \fB-o vg_profile\fP +and \fB-o lv_profile\fP output options to show the metadata profile currently attached to a Volume Group or a Logical Volume. The set of options allowed for command profiles is mutually exclusive
@@ -65,8 +65,8 @@ For this purpose, there's the \fBcommand_profile_template.profile\fP (for metadata profiles) which contain all settings that are customizable by profiles of certain type. Users are encouraged to copy these template profiles and edit them as needed. Alternatively, the -\fBlvmconfig \-\-file <ProfileName.profile> \-\-type profilable\-command <section>\fP -or \fBlvmconfig \-\-file <ProfileName.profile> \-\-type profilable\-metadata <section>\fP +\fBlvmconfig --file <ProfileName.profile> --type profilable-command <section>\fP +or \fBlvmconfig --file <ProfileName.profile> --type profilable-metadata <section>\fP can be used to generate a configuration with profilable settings in either of the type for given section and save it to new ProfileName.profile (if the section is not specified, all profilable settings are reported).
@@ -166,30 +166,30 @@ See the man page Command to print a list of all possible config settings, with their default values: .br -.B lvmconfig \-\-type default +.B lvmconfig --type default Command to print a list of all possible config settings, with their default values, and a full description of each as a comment: .br -.B lvmconfig \-\-type default \-\-withcomments +.B lvmconfig --type default --withcomments Command to print a list of all possible config settings, with their -current values (configured, non\-default values are shown): +current values (configured, non-default values are shown): .br -.B lvmconfig \-\-type current +.B lvmconfig --type current Command to print all config settings that have been configured with a -different value than the default (configured, non\-default values are +different value than the default (configured, non-default values are shown): .br -.B lvmconfig \-\-type diff +.B lvmconfig --type diff Command to print a single config setting, with its default value, and a full description, where "Section" refers to the config section, e.g. global, and "Setting" refers to the name of the specific setting, e.g. umask: .br -.B lvmconfig \-\-type default \-\-withcomments Section/Setting +.B lvmconfig --type default --withcomments Section/Setting .SH FILES
man/lvm2-activation-generator.8_main +13 -13
@@ -1,22 +1,22 @@ -.TH "LVM2-ACTIVATION\-GENERATOR" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\"" +.TH "LVM2-ACTIVATION-GENERATOR" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\"" .SH "NAME" -lvm2-activation\-generator \- generator for systemd units to activate LVM2 volumes on boot +lvm2-activation-generator - generator for systemd units to activate LVM2 volumes on boot .SH SYNOPSIS -.B #SYSTEMD_GENERATOR_DIR#/lvm2-activation\-generator +.B #SYSTEMD_GENERATOR_DIR#/lvm2-activation-generator .sp .SH DESCRIPTION -The lvm2-activation\-generator is called by \fBsystemd\fP(1) on boot +The lvm2-activation-generator is called by \fBsystemd\fP(1) on boot to generate systemd units at runtime to activate LVM2 volumes if \fBlvmetad\fP(8) is disabled (global/use_lvmetad=0 \fBlvm.conf\fP(5) option is used). Otherwise, if \fBlvmetad\fP(8) is enabled, -the lvm2-activation\-generator exits immediately without generating -any systemd units and LVM2 fully relies on event\-based activation +the lvm2-activation-generator exits immediately without generating +any systemd units and LVM2 fully relies on event-based activation to activate the LVM2 volumes instead using the \fBpvscan\fP(8) -(pvscan \-\-cache -aay) call that is a part of \fBudev\fP(8) rules. +(pvscan --cache -aay) call that is a part of \fBudev\fP(8) rules. -These systemd units are generated by lvm2-activation\-generator: +These systemd units are generated by lvm2-activation-generator: .sp -\fIlvm2-activation\-early.service\fP +\fIlvm2-activation-early.service\fP used for activation of LVM2 volumes that is ordered before systemd's special \fBcryptsetup.target\fP to support LVM2 volumes which are not layered on top of encrypted devices.
@@ -26,21 +26,21 @@ used for activation of LVM2 volumes that is ordered after systemd's special \fBcryptsetup.target\fP to support LVM2 volumes which are layered on top of encrypted devices. -\fIlvm2-activation\-net.service\fP +\fIlvm2-activation-net.service\fP used for activation of LVM2 volumes that is ordered after systemd's -special \fBremote\-fs\-pre.target\fP to support LVM2 volumes which are +special \fBremote-fs-pre.target\fP to support LVM2 volumes which are layered on attached remote devices. Note that all the underlying devices (Physical Volumes) need to be present when the service is run. If the there are any devices presented in the system anytime later, any LVM2 volumes on top of such devices need to be activated directly by \fBlvchange\fP(8) or \fBvgchange\fP(8). This limitation does -not exist when using \fBlvmetad\fP(8) and accompanying event\-based activation +not exist when using \fBlvmetad\fP(8) and accompanying event-based activation since such LVM volumes are activated automatically as soon as the Volume Group is ready (all the Physical Volumes making up the Volume Group are present in the system). -The lvm2-activation\-generator implements the \fBGenerators Specification\fP +The lvm2-activation-generator implements the \fBGenerators Specification\fP as referenced in \fBsystemd\fP(1). .sp .SH SEE ALSO
man/lvmcache.7_main +56 -56
110 lines not on this page · raw message
man/lvmconf.8_main +24 -24
48 lines not on this page · raw message
man/lvmdump.8_main +29 -29
58 lines not on this page · raw message
man/lvmetad.8_main +25 -25
50 lines not on this page · raw message
man/lvmlockd.8_main +62 -62
124 lines not on this page · raw message
man/lvmpolld.8_main +23 -23
46 lines not on this page · raw message
man/lvmraid.7_main +259 -259
518 lines not on this page · raw message
man/lvmreport.7_main +129 -129
258 lines not on this page · raw message
man/lvmthin.7_main +203 -203
406 lines not on this page · raw message
tools/args.h +81 -81
162 lines not on this page · raw message
tools/command.c +33 -62
95 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.