From: Dave Wysochanski <dwysocha@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] vgcfgrestore man page fix
Date: Mon, 21 May 2007 16:23:49 -0400 [thread overview]
Message-ID: <1179779029.3452.10.camel@linux-cxyg> (raw)
In-Reply-To: <20070511012843.GA7222@hp.com>
On Fri, 2007-05-11 at 11:28 +1000, James Cameron wrote:
> 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.
>
> --- LVM2.2.02.21/man/vgcfgrestore.8.orig 2007-05-11 11:07:54.000000000 +1000
> +++ LVM2.2.02.21/man/vgcfgrestore.8 2007-05-11 11:10:18.000000000 +1000
> @@ -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
>
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.
Index: LVM2/WHATS_NEW
===================================================================
--- LVM2.orig/WHATS_NEW 2007-05-21 16:10:25.000000000 -0400
+++ LVM2/WHATS_NEW 2007-05-21 16:12:08.000000000 -0400
@@ -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.
Index: LVM2/man/vgcfgrestore.8
===================================================================
--- LVM2.orig/man/vgcfgrestore.8 2002-12-03 08:25:09.000000000 -0500
+++ LVM2/man/vgcfgrestore.8 2007-05-21 16:13:48.000000000 -0400
@@ -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
prev parent reply other threads:[~2007-05-21 20:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-11 1:28 [PATCH] vgcfgrestore man page fix James Cameron
2007-05-21 20:23 ` Dave Wysochanski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1179779029.3452.10.camel@linux-cxyg \
--to=dwysocha@redhat.com \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.