From 583ee6016922550c8b69335d224509282c458cc4 Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Tue, 20 Jan 2009 17:10:44 +0000 Subject: [PATCH] Add --nameprefixes to pvs, vgs, lvs man pages. --- WHATS_NEW | 1 + man/lvs.8.in | 7 ++++++- man/pvs.8.in | 7 ++++++- man/vgs.8.in | 7 ++++++- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index ba13dbc51..703bf2c67 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.44 - ==================================== + Add --nameprefixes and --rows to pvs, vgs, lvs man pages. Fix fsadm failure with block size != 1K. Fix pvs segfault when run with orphan PV and some VG fields. Display a 'dev_size' of zero for missing devices in reports. diff --git a/man/lvs.8.in b/man/lvs.8.in index 7eb5c8fde..3482871c8 100644 --- a/man/lvs.8.in +++ b/man/lvs.8.in @@ -4,7 +4,7 @@ lvs \- report information about logical volumes .SH SYNOPSIS .B lvs [\-\-aligned] [\-d|\-\-debug] [\-h|\-?|\-\-help] -[\-\-ignorelockingfailure] [\-\-noheadings] [\-\-nosuffix] +[\-\-ignorelockingfailure] [\-\-nameprefixes] [\-\-noheadings] [\-\-nosuffix] [\-o|\-\-options [+]Field[,Field]] [\-O|\-\-sort [+|-]Key1[,[+|-]Key2[,...]]] [\-P|\-\-partial] [\-\-rows] [\-\-segments] @@ -20,6 +20,11 @@ See \fBlvm\fP for common options. .I \-\-aligned Use with \-\-separator to align the output columns. .TP +.I \-\-nameprefixes +Add an "LVM2_" prefix plus the field name to the output. Useful +with --noheadings to produce a list of field=value pairs that can +be used to set environment variables (for example, in \fBudev (7)\fP rules). +.TP .I \-\-noheadings Suppress the headings line that is normally the first line of output. Useful if grepping the output. diff --git a/man/pvs.8.in b/man/pvs.8.in index 161b5a68e..3f09d18d9 100644 --- a/man/pvs.8.in +++ b/man/pvs.8.in @@ -4,7 +4,7 @@ pvs \- report information about physical volumes .SH SYNOPSIS .B pvs [\-\-aligned] [\-d|\-\-debug] [\-h|\-?|\-\-help] -[\-\-ignorelockingfailure] [\-\-noheadings] [\-\-nosuffix] +[\-\-ignorelockingfailure] [\-\-nameprefixes] [\-\-noheadings] [\-\-nosuffix] [\-o|\-\-options [+]Field[,Field]] [\-O|\-\-sort [+|-]Key1[,[+|-]Key2[,...]]] [\-\-rows] @@ -20,6 +20,11 @@ See \fBlvm\fP for common options. .I \-\-aligned Use with \-\-separator to align the output columns. .TP +.I \-\-nameprefixes +Add an "LVM2_" prefix plus the field name to the output. Useful +with --noheadings to produce a list of field=value pairs that can +be used to set environment variables (for example, in \fBudev (7)\fP rules). +.TP .I \-\-noheadings Suppress the headings line that is normally the first line of output. Useful if grepping the output. diff --git a/man/vgs.8.in b/man/vgs.8.in index b606bdcad..c84323ec2 100644 --- a/man/vgs.8.in +++ b/man/vgs.8.in @@ -4,7 +4,7 @@ vgs \- report information about volume groups .SH SYNOPSIS .B vgs [\-\-aligned] [\-d|\-\-debug] [\-h|\-?|\-\-help] -[\-\-ignorelockingfailure] [\-\-noheadings] [\-\-nosuffix] +[\-\-ignorelockingfailure] [\-\-nameprefixes] [\-\-noheadings] [\-\-nosuffix] [\-o|\-\-options [+]Field[,Field]] [\-O|\-\-sort [+|-]Key1[,[+|-]Key2[,...]]] [\-P|\-\-partial] [\-\-rows] @@ -20,6 +20,11 @@ See \fBlvm\fP for common options. .I \-\-aligned Use with \-\-separator to align the output columns. .TP +.I \-\-nameprefixes +Add an "LVM2_" prefix plus the field name to the output. Useful +with --noheadings to produce a list of field=value pairs that can +be used to set environment variables (for example, in \fBudev (7)\fP rules). +.TP .I \-\-noheadings Suppress the headings line that is normally the first line of output. Useful if grepping the output. -- 2.43.5