vgcfgrestore man page fix
PATCH 1/1 vgcfgrestore man page fix
Trivial fix, the man page suggests the volume group name is optional and may be repeated, but the program will only accept one name. This patch corrects the man page.
man/vgcfgrestore.8 renamed from man/vgcfgrestore.8.orig +2 -2
@@ -11,11 +11,11 @@ .RB [ \-n | \-\-name " VolumeGroupName" ] .RB [ \-t | \-\-test ] .RB [ \-v | \-\-verbose ] -.RI [ VolumeGroupName ...] +.RI VolumeGroupName .SH DESCRIPTION .B vgcfgrestore allows you to restore the metadata -of your volume groups from a text backup file produced by \fBvgcfgbackup\fP. +of a volume group from a text backup file produced by \fBvgcfgbackup\fP. .SH OPTIONS See \fBlvm\fP for common options. .SH REPLACING PHYSICAL VOLUMES
Reference: HP 3218735444-322
Signature · 3 lines
James Cameron http://quozl.netrek.org/ HP Open Source, Volunteer http://opensource.hp.com/ PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
PATCH 1/1 vgcfgrestore man page fix
Quoted 21 lines · James Cameron
Trivial fix, the man page suggests the volume group name is optional and may be repeated, but the program will only accept one name. This patch corrects the man page.
man/vgcfgrestore.8 renamed from man/vgcfgrestore.8.orig +2
-2@@ -11,11 +11,11 @@ .RB [ \-n | \-\-name " VolumeGroupName" ] .RB [ \-t | \-\-test ] .RB [ \-v | \-\-verbose ] -.RI [ VolumeGroupName ...] +.RI VolumeGroupName .SH DESCRIPTION .B vgcfgrestore allows you to restore the metadata -of your volume groups from a text backup file produced by \fBvgcfgbackup\fP. +of a volume group from a text backup file produced by \fBvgcfgbackup\fP. .SH OPTIONS See \fBlvm\fP for common options. .SH REPLACING PHYSICAL VOLUMES
Quoted 2 lines
Reference: HP 3218735444-322
Thanks.
I think we can also remove extra "--list" and "-n | --name" options (older ones from LVM1, and even though we can specify -M1, cmdline for LVM1 is very different).
Fix vgcfgrestore man pg to show mandatory VG name and remove LVM1 options.
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.26 - ================================= + Fix vgcfgrestore man pg to show mandatory VG name and remove LVM1 options. Fix vgrename man page to include UUID and be consistent with lvrename. Add (experimental) OpenAIS support to clvmd. Remove symlinks if parent volume is deactivated.
man/vgcfgrestore.8 +3 -4
@@ -5,17 +5,16 @@ vgcfgrestore \- restore volume group des .B vgcfgrestore .RB [ \-d | \-\-debug ] .RB [ \-f | \-\-file " filename" ] -.RB [ \-l[l] | \-\-list [--list] ] +.RB [ \-l[l] | \-\-list ] .RB [ \-h | \-\-help ] .RB [ \-M | \-\-Metadatatype 1|2] -.RB [ \-n | \-\-name " VolumeGroupName" ] .RB [ \-t | \-\-test ] .RB [ \-v | \-\-verbose ] -.RI [ VolumeGroupName ...] +.RI VolumeGroupName .SH DESCRIPTION .B vgcfgrestore allows you to restore the metadata -of your volume groups from a text backup file produced by \fBvgcfgbackup\fP. +of a volume group from a text backup file produced by \fBvgcfgbackup\fP. .SH OPTIONS See \fBlvm\fP for common options. .SH REPLACING PHYSICAL VOLUMES