From d825e8887ce41a586fed69bdc89a7f1225a7ae0f Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sun, 19 May 2024 22:35:29 +0200 Subject: [PATCH] make: generate --- man/lvchange.8_pregen | 2 +- man/vgchange.8_pregen | 4 +- man/vgimportdevices.8_pregen | 90 +++++++++++++++++++++++++++++++++++- 3 files changed, 91 insertions(+), 5 deletions(-) diff --git a/man/lvchange.8_pregen b/man/lvchange.8_pregen index 26900d064..ef107388d 100644 --- a/man/lvchange.8_pregen +++ b/man/lvchange.8_pregen @@ -462,7 +462,7 @@ link and present this as the name of the device. The location and name of the underlying device node may depend on the distribution, configuration (e.g. udev), or release version. \fBay\fP specifies autoactivation, which is used by system-generated -activation commands. By default, LVs are autoactivated. +activation commands. By default, LVs are autoactivated. An autoactivation property can be set on a VG or LV to disable autoactivation, see --setautoactivation y|n in vgchange, lvchange, vgcreate, and lvcreate. Display the property with vgs or lvs "-o autoactivation". diff --git a/man/vgchange.8_pregen b/man/vgchange.8_pregen index 3a356ddd5..bbe914c4c 100644 --- a/man/vgchange.8_pregen +++ b/man/vgchange.8_pregen @@ -468,7 +468,7 @@ link and present this as the name of the device. The location and name of the underlying device node may depend on the distribution, configuration (e.g. udev), or release version. \fBay\fP specifies autoactivation, which is used by system-generated -activation commands. By default, LVs are autoactivated. +activation commands. By default, LVs are autoactivated. An autoactivation property can be set on a VG or LV to disable autoactivation, see --setautoactivation y|n in vgchange, lvchange, vgcreate, and lvcreate. Display the property with vgs or lvs "-o autoactivation". @@ -844,7 +844,7 @@ vgchange/lvchange skip autoactivation, and defer to pvscan autoactivation. .HP \fB--systemid\fP \fIString\fP .br -Changes the system ID of the VG. Using this option requires caution +Changes the system ID of the VG. Using this option requires caution because the VG may become foreign to the host running the command, leaving the host unable to access it. See \fBlvmsystemid\fP(7) for more information. diff --git a/man/vgimportdevices.8_pregen b/man/vgimportdevices.8_pregen index 1cce85766..6324a5645 100644 --- a/man/vgimportdevices.8_pregen +++ b/man/vgimportdevices.8_pregen @@ -10,6 +10,56 @@ vgimportdevices \(em Add devices for a VG to the devices file. .br [ \fIoption_args\fP ] .br +.P +.ad l + \fB-a\fP|\fB--all\fP +.br + \fB--auto\fP +.br + \fB--commandprofile\fP \fIString\fP +.br + \fB--config\fP \fIString\fP +.br + \fB-d\fP|\fB--debug\fP +.br + \fB--devices\fP \fIPV\fP +.br + \fB--devicesfile\fP \fIString\fP +.br + \fB--driverloaded\fP \fBy\fP|\fBn\fP +.br + \fB--foreign\fP +.br + \fB-h\fP|\fB--help\fP +.br + \fB--journal\fP \fIString\fP +.br + \fB--lockopt\fP \fIString\fP +.br + \fB--longhelp\fP +.br + \fB--nohints\fP +.br + \fB--nolocking\fP +.br + \fB--profile\fP \fIString\fP +.br + \fB-q\fP|\fB--quiet\fP +.br + \fB--reportformat\fP \fBbasic\fP|\fBjson\fP|\fBjson_std\fP +.br + \fB--rootvg\fP +.br + \fB-S\fP|\fB--select\fP \fIString\fP +.br + \fB-t\fP|\fB--test\fP +.br + \fB-v\fP|\fB--verbose\fP +.br + \fB--version\fP +.br + \fB-y\fP|\fB--yes\fP +.ad b . .SH DESCRIPTION . @@ -35,10 +85,14 @@ Add devices from specific VGs to the devices file. .ad l [ \fB-S\fP|\fB--select\fP \fIString\fP ] .br +[ \fB--foreign\fP ] +.br [ COMMON_OPTIONS ] .ad b .RE .P +\(em +.P Add devices from all accessible VGs to the devices file. .br .P @@ -46,16 +100,33 @@ Add devices from all accessible VGs to the devices file. .br .RS 4 .ad l +[ \fB--foreign\fP ] +.br [ COMMON_OPTIONS ] .ad b .RE .P +\(em +.P +Add devices from root VG to the devices file. +.br +.P +\fBvgimportdevices\fP \fB--rootvg\fP +.br +.RS 4 +.ad l +[ \fB--auto\fP ] +.br +[ COMMON_OPTIONS ] +.ad b +.RE +.P +\(em +.P Common options for command: . .RS 4 .ad l -[ \fB--foreign\fP ] -.br [ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP|\fBjson_std\fP ] .ad b .RE @@ -110,6 +181,16 @@ Common options for lvm: .br . .HP +\fB--auto\fP +.br +This option is used when automatically importing devices for the root VG. +The auto import is intended to be done once, on first boot, to create an +initial system.devices file for the root VG. +When this option is used, the vgimportdevices --rootvg command does nothing +if system.devices exists, or the file auto-import-rootvg does not exist +(both in the /etc/lvm/devices/ directory.) +. +.HP \fB--commandprofile\fP \fIString\fP .br The command profile to use for command configuration. @@ -222,6 +303,11 @@ JSON format which is more compliant with JSON standard. See \fBlvmreport\fP(7) for more information. . .HP +\fB--rootvg\fP +.br +Import devices used for the root VG. +. +.HP \fB-S\fP|\fB--select\fP \fIString\fP .br Select objects for processing and reporting based on specified criteria.