mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-24 14:50:34 +03:00
man: Preserve template variables in pre-generated pages.
This commit is contained in:
parent
0c74afa1c6
commit
270ed9bc90
@ -122,7 +122,7 @@ TESTMAN=test.gen
|
||||
|
||||
include $(top_builddir)/make.tmpl
|
||||
|
||||
CLEAN_TARGETS+=$(MAN5) $(MAN7) $(MAN8) $(MAN8:%.8_gen=%.8) $(MAN8CLUSTER) \
|
||||
CLEAN_TARGETS+=$(MAN5) $(MAN7) $(MAN8) $(MAN8:%.8=%.8_gen) $(MAN8CLUSTER) \
|
||||
$(MAN8SYSTEMD_GENERATORS) $(MAN8DM) $(MANGENERATOR) $(TESTMAN)
|
||||
DISTCLEAN_TARGETS+=$(FSADMMAN) $(BLKDEACTIVATEMAN) $(DMEVENTDMAN) \
|
||||
$(LVMETADMAN) $(LVMPOLLDMAN) $(LVMLOCKDMAN) $(CLVMDMAN) $(CMIRRORDMAN) \
|
||||
@ -150,12 +150,14 @@ $(TESTMAN): $(MANGENERATOR)
|
||||
|
||||
SEE_ALSO=$(srcdir)/see_also.end
|
||||
|
||||
.PRECIOUS: %.8_gen
|
||||
|
||||
%.8_gen: $(srcdir)/%.8_des $(srcdir)/%.8_end $(MANGENERATOR) $(TESTMAN)
|
||||
( \
|
||||
if [ ! -s $(TESTMAN) ] ; then \
|
||||
echo "Copying pre-generated $@" ; \
|
||||
echo "Copying pre-generated template $@" ; \
|
||||
else \
|
||||
echo "Generating $@" ; \
|
||||
echo "Generating template $@" ; \
|
||||
fi \
|
||||
)
|
||||
( \
|
||||
@ -222,7 +224,7 @@ install_all_man: install install_systemd_generators
|
||||
pregenerated_man: all
|
||||
for i in $(srcdir)/*.8_des; do \
|
||||
CMD=`basename $$i .8_des`; \
|
||||
cat $${CMD}.8 > $(srcdir)/$$CMD.8_pregen ; \
|
||||
cat $${CMD}.8_gen > $(srcdir)/$$CMD.8_pregen ; \
|
||||
done
|
||||
|
||||
generate: pregenerated_man
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVCHANGE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVCHANGE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvchange \- Change the attributes of logical volume(s)
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVCONVERT 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVCONVERT 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvconvert \- Change logical volume layout
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVCREATE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVCREATE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvcreate \- Create a logical volume
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVDISPLAY 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVDISPLAY 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvdisplay \- Display information about a logical volume
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVEXTEND 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVEXTEND 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvextend \- Add space to a logical volume
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVM CONFIG 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVM CONFIG 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvm config \- Display and manipulate configuration information
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVM DUMPCONFIG 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVM DUMPCONFIG 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvm dumpconfig \- Display and manipulate configuration information
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVM FULLREPORT 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVM FULLREPORT 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvm fullreport \- Display full report
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVM LVPOLL 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVM LVPOLL 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvm lvpoll \- Continue already initiated poll operation on a logical volume
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVMCONFIG 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVMCONFIG 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvmconfig \- Display and manipulate configuration information
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVMDISKSCAN 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVMDISKSCAN 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvmdiskscan \- List devices that may be used as physical volumes
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVREDUCE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVREDUCE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvreduce \- Reduce the size of a logical volume
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVREMOVE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVREMOVE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvremove \- Remove logical volume(s) from the system
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVRENAME 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVRENAME 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvrename \- Rename a logical volume
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVRESIZE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVRESIZE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvresize \- Resize a logical volume
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVS 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVS 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvs \- Display information about logical volumes
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LVSCAN 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH LVSCAN 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
lvscan \- List all logical volumes in all volume groups
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH PVCHANGE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH PVCHANGE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
pvchange \- Change attributes of physical volume(s)
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH PVCK 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH PVCK 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
pvck \- Check the consistency of physical volume(s)
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH PVCREATE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH PVCREATE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
pvcreate \- Initialize physical volume(s) for use by LVM
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH PVDISPLAY 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH PVDISPLAY 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
pvdisplay \- Display various attributes of physical volume(s)
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH PVMOVE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH PVMOVE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
pvmove \- Move extents from one physical volume to another
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH PVREMOVE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH PVREMOVE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
pvremove \- Remove LVM label(s) from physical volume(s)
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH PVRESIZE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH PVRESIZE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
pvresize \- Resize physical volume(s)
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH PVS 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH PVS 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
pvs \- Display information about physical volumes
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH PVSCAN 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH PVSCAN 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
pvscan \- List all physical volumes
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGCFGBACKUP 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGCFGBACKUP 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgcfgbackup \- Backup volume group configuration(s)
|
||||
.
|
||||
@ -16,7 +16,7 @@ See \fBvgcfgrestore\fP for information on using the back up
|
||||
files.
|
||||
|
||||
In a default installation, each VG is backed up into a separate file
|
||||
bearing the name of the VG in the directory \fI/etc/lvm/backup\fP.
|
||||
bearing the name of the VG in the directory \fI#DEFAULT_BACKUP_DIR#\fP.
|
||||
|
||||
To use an alternative back up file, use \fB\-f\fP. In this case, when
|
||||
backing up multiple VGs, the file name is treated as a template, with %s
|
||||
@ -25,7 +25,7 @@ replaced by the VG name.
|
||||
NB. This DOES NOT back up the data content of LVs.
|
||||
|
||||
It may also be useful to regularly back up the files in
|
||||
\fI/etc/lvm\fP.
|
||||
\fI#DEFAULT_SYS_DIR#\fP.
|
||||
.SH USAGE
|
||||
\fBvgcfgbackup\fP
|
||||
.br
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGCFGRESTORE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGCFGRESTORE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgcfgrestore \- Restore volume group configuration
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGCHANGE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGCHANGE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgchange \- Change volume group attributes
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGCK 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGCK 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgck \- Check the consistency of volume group(s)
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGCONVERT 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGCONVERT 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgconvert \- Change volume group metadata format
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGCREATE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGCREATE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgcreate \- Create a volume group
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGDISPLAY 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGDISPLAY 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgdisplay \- Display volume group information
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGEXPORT 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGEXPORT 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgexport \- Unregister volume group(s) from the system
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGEXTEND 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGEXTEND 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgextend \- Add physical volumes to a volume group
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGIMPORT 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGIMPORT 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgimport \- Register exported volume group with system
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGIMPORTCLONE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGIMPORTCLONE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgimportclone \- Import a VG from cloned PVs
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGMERGE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGMERGE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgmerge \- Merge volume groups
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGMKNODES 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGMKNODES 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgmknodes \- Create the special files for volume group devices in /dev
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGREDUCE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGREDUCE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgreduce \- Remove physical volume(s) from a volume group
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGREMOVE 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGREMOVE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgremove \- Remove volume group(s)
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGRENAME 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGRENAME 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgrename \- Rename a volume group
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGS 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGS 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgs \- Display information about volume groups
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGSCAN 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGSCAN 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgscan \- Search for all volume groups
|
||||
.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VGSPLIT 8 "LVM TOOLS 2.02.169(2)-git (2016-11-30)" "Red Hat, Inc."
|
||||
.TH VGSPLIT 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
|
||||
.SH NAME
|
||||
vgsplit \- Move physical volumes into a new or existing volume group
|
||||
.
|
||||
|
Loading…
x
Reference in New Issue
Block a user