main - man: typography
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=353718785fb9da3bebe59d6f1011b1f1df0c61d1 Commit: 353718785fb9da3bebe59d6f1011b1f1df0c61d1 Parent: 0004ffa73a1378993064a94e4ccb785699a2ed79 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Apr 13 15:26:54 2021 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Apr 14 11:04:04 2021 +0200
man: typography
With to use .TP where it's easy and doesn't change layout (since .HP is marked as deprecated) - but .TP is not always perfetc match.
Avoid submitting empty lines to troff and replace them mostly with .P and use '.' at line start to preserve 'visual' presence of empty line while editing man page manually when there is no extra space needed.
Fix some markup.
Add some missing SEE ALSO section.
Drop some white-space at end-of-lines.
Improve hyphenation logic so we do not split options.
Use '.IP numbers' only with first one the row (others in row automatically derive this value)
Use automatic enumeration for .SH titles.
Guidelines in-use:
https://man7.org/linux/man-pages/man7/groff.7.html
https://www.gnu.org/software/groff/manual/html_node/Man-usage.html
https://www.gnu.org/software/groff/manual/html_node/Lists-in-ms.html
--- man/blkdeactivate.8_main | 81 ++-- man/cmirrord.8_main | 30 +- man/dmeventd.8_main | 77 ++-- man/dmfilemapd.8_main | 79 ++-- man/dmsetup.8_main | 190 ++++---- man/dmstats.8_main | 418 ++++++++---------- man/fsadm.8_main | 46 +- man/lvm.8_main | 54 ++- man/lvm.conf.5_main | 83 ++-- man/lvm2-activation-generator.8_main | 53 ++- man/lvmcache.7_main | 472 ++++++++++---------- man/lvmdbusd.8_main | 19 +- man/lvmdump.8_main | 79 ++-- man/lvmlockctl.8_main | 135 +++--- man/lvmlockd.8_main | 614 +++++++++++++------------- man/lvmpolld.8_main | 56 ++- man/lvmreport.7_main | 332 +++++++------- man/lvmsadc.8_main | 18 +- man/lvmsar.8_main | 18 +- man/lvmsystemid.7_main | 200 +++++---- man/lvmthin.7_main | 809 ++++++++++++++++------------------- man/lvmvdo.7_main | 172 +++++--- 22 files changed, 1972 insertions(+), 2063 deletions(-)
man/blkdeactivate.8_main +54 -27
@@ -1,19 +1,34 @@ .TH "BLKDEACTIVATE" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\"" -.SH "NAME" +. +.SH NAME +. blkdeactivate \(em utility to deactivate block devices +. .SH SYNOPSIS +. +.ad l +.nh .B blkdeactivate -.RB [ -d \ \fIdm_options\fP ] +.RB [ -d +.IR dm_options ] .RB [ -e ] .RB [ -h ] -.RB [ -l \ \fIlvm_options\fP ] -.RB [ -m \ \fImpath_options\fP ] -.RB [ -r \ \fImdraid_options\fP ] -.RB [ -o \ \fIvdo_options\fP ] +.RB [ -l +.IR lvm_options ] +.RB [ -m +.IR mpath_options ] +.RB [ -r +.IR mdraid_options ] +.RB [ -o +.IR vdo_options ] .RB [ -u ] .RB [ -v ] .RI [ device ] +.hy +.ad b +. .SH DESCRIPTION +. The blkdeactivate utility deactivates block devices. For mounted block devices, it attempts to unmount it automatically before trying to deactivate. The utility currently supports
@@ -22,9 +37,11 @@ software RAID MD devices. LVM volumes are handled directly using the \fBlvm\fP(8) command, the rest of device-mapper based devices are handled using the \fBdmsetup\fP(8) command. MD devices are handled using the \fBmdadm\fP(8) command. +. .SH OPTIONS +. .TP -.BR -d ", " --dmoptions \ \fIdm_options\fP +.BR -d | --dmoptions " " \fIdm_options Comma separated list of device-mapper specific options. Accepted \fBdmsetup\fP(8) options are: .RS
@@ -33,17 +50,20 @@ Retry removal several times in case of failure. .IP \fIforce\fP Force device removal. .RE +. .TP -.BR -e ", " --errors +.BR -e | --errors Show errors reported from tools called by \fBblkdeactivate\fP. Without this option, any error messages from these external tools are suppressed and the \fBblkdeactivate\fP itself provides only a summary message to indicate the device was skipped. +. .TP -.BR -h ", " --help +.BR -h | --help Display the help text. +. .TP -.BR -l ", " --lvmoptions \ \fIlvm_options\fP +.BR -l | --lvmoptions " " \fIlvm_options Comma-separated list of LVM specific options: .RS .IP \fIretry\fP
@@ -53,8 +73,9 @@ Deactivate the whole LVM Volume Group when processing a Logical Volume. Deactivating the Volume Group as a whole is quicker than deactivating each Logical Volume separately. .RE +. .TP -.BR -m ", " --mpathoptions \ \fImpath_options\fP +.BR -m | --mpathoptions " " \fImpath_options Comma-separated list of device-mapper multipath specific options: .RS .IP \fIdisablequeueing\fP
@@ -63,68 +84,74 @@ This avoids a situation where blkdeactivate may end up waiting if all the paths are unavailable for any underlying device-mapper multipath device. .RE +. .TP -.BR -r ", " --mdraidoptions \ \fImdraid_options\fP +.BR -r | --mdraidoptions " " \fImdraid_options Comma-separated list of MD RAID specific options: .RS .IP \fIwait\fP Wait MD device's resync, recovery or reshape action to complete before deactivation. .RE - +. .TP -.BR -o ", " --vdooptions \ \fIvdo_options\fP +.BR -o | --vdooptions " " \fIvdo_options Comma-separated list of VDO specific options: .RS .IP \fIconfigfile=file\fP Use specified VDO configuration file. .RE - +. .TP -.BR -u ", " --umount +.BR -u | --umount Unmount a mounted device before trying to deactivate it. Without this option used, a device that is mounted is not deactivated. +. .TP .BR -v ", " --verbose -Run in verbose mode. Use --vv for even more verbose mode. +Run in verbose mode. Use \fB-vv\fP for even more verbose mode. +. .SH EXAMPLES . Deactivate all supported block devices found in the system, skipping mounted devices. -.BR +.br # .B blkdeactivate -.BR +.br .P Deactivate all supported block devices found in the system, unmounting any mounted devices first, if possible. -.BR +.br # .B blkdeactivate -u -.BR +.br .P -Deactivate the device /dev/vg/lvol0 together with all its holders, unmounting +Deactivate the device /dev/vg/lvol0 together with all its holders, unmounting any mounted devices first, if possible. -.BR +.br # .B blkdeactivate -u /dev/vg/lvol0 -.BR +.br .P Deactivate all supported block devices found in the system. If the deactivation of a device-mapper device fails, retry it. Deactivate the whole Volume Group at once when processing an LVM Logical Volume. -.BR +.br # .B blkdeactivate -u -d retry -l wholevg -.BR +.br .P Deactivate all supported block devices found in the system. If the deactivation of a device-mapper device fails, retry it and force removal. -.BR +.br # .B blkdeactivate -d force,retry . .SH SEE ALSO +. +.nh +.ad l .BR dmsetup (8), .BR lsblk (8), .BR lvm (8),
man/cmirrord.8_main +20 -10
@@ -1,35 +1,45 @@ .TH CMIRRORD 8 "LVM TOOLS #VERSION#" "Red Hat Inc" \" -*- nroff -*- +. .SH NAME +. cmirrord \(em cluster mirror log daemon - +. .SH SYNOPSIS -\fBcmirrord\fR [\fB-f\fR] [\fB-h\fR] - +. +.B cmirrord +.RB [ -f | --foreground ] +.RB [ -h | --help ] +. .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 cluster mirrors). Cluster mirrors are not possible without this daemon running. - +.P This daemon relies on the cluster infrastructure provided by the corosync, which must be set up and running in order for cmirrord to function. - +.P Output is logged via \fBsyslog\fP(3). The \fBSIGUSR1 signal\fP(7) can be issued to \fBcmirrord\fP to gather current status information for debugging purposes. - +.P Once started, \fBcmirrord\fP will run until it is shutdown via \fBSIGINT\fP signal. If there are still active cluster mirrors, however, the signal will be ignored. Active cluster mirrors should be shutdown before stopping the cluster mirror log daemon. - +. .SH OPTIONS -.IP "\fB-f\fR, \fB--foreground\fR" 4 +. +.TP +.BR -f | --foreground Do not fork and log to the terminal. -.IP "\fB-h\fR, \fB--help\fR" 4 +.TP +.BR -h | --help Print usage. - +. .SH SEE ALSO +. .BR lvmlockd (8), .BR lvm (8), .BR syslog (3),
man/dmeventd.8_main +34 -43
125 lines not on this page · raw message
man/dmfilemapd.8_main +38 -41
175 lines not on this page · raw message
man/dmsetup.8_main +74 -116
370 lines not on this page · raw message
man/dmstats.8_main +186 -232
977 lines not on this page · raw message
man/fsadm.8_main +24 -22
122 lines not on this page · raw message
man/lvm.8_main +25 -29
196 lines not on this page · raw message
man/lvm.conf.5_main +45 -38
216 lines not on this page · raw message
man/lvm2-activation-generator.8_main +31 -22
80 lines not on this page · raw message
man/lvmcache.7_main +216 -256
509 lines not on this page · raw message
man/lvmdump.8_main +47 -32
79 lines not on this page · raw message
man/lvmlockctl.8_main +74 -61
135 lines not on this page · raw message
man/lvmlockd.8_main +298 -316
614 lines not on this page · raw message
man/lvmpolld.8_main +39 -17
56 lines not on this page · raw message
man/lvmreport.7_main +166 -166
332 lines not on this page · raw message
man/lvmsystemid.7_main +96 -104
200 lines not on this page · raw message
man/lvmthin.7_main +365 -444
809 lines not on this page · raw message
man/lvmvdo.7_main +106 -66
172 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.