]> sourceware.org Git - lvm2.git/commitdiff
Add -V as short form of --virtualsize in lvcreate.
authorAlasdair Kergon <agk@redhat.com>
Wed, 17 Aug 2011 15:15:36 +0000 (15:15 +0000)
committerAlasdair Kergon <agk@redhat.com>
Wed, 17 Aug 2011 15:15:36 +0000 (15:15 +0000)
WHATS_NEW
man/lvcreate.8.in
tools/args.h
tools/commands.h

index a2976cc182a3b962c8638cc49cc047bff10812a0..56778d1326343c8d4b141a91915b8bf2f4d9b8de 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.88 - 
 ==================================
+  Add -V as short form of --virtualsize in lvcreate.
   Fix make clean not to remove Makefile.  (2.02.87)
 
 Version 2.02.87 - 12th August 2011
index 03d8013c37dca87f312816a0df63b3081feb84c6..da565d07b19e8338e77f187460de3bb47056f1a8 100644 (file)
@@ -36,7 +36,7 @@ VolumeGroupName [PhysicalVolumePath[:PE[-PE]]...]
 {{\-s|\-\-snapshot}
 OriginalLogicalVolumePath | 
 [\-s|\-\-snapshot]
-VolumeGroupName \-\-virtualsize VirtualSize}
+VolumeGroupName \-V|\-\-virtualsize VirtualSize}
 .SH DESCRIPTION
 lvcreate creates a new logical volume in a volume group ( see
 .B vgcreate(8), vgchange(8)
@@ -205,7 +205,7 @@ commandline switch alias that will enable their use (-s is an alias for
 commandline switch alias is available for the desired type, as is the case
 with "error", "zero", "raid4", "raid5", or "raid6".
 .TP
-.I \-\-virtualsize VirtualSize
+.I -V, \-\-virtualsize VirtualSize
 Create a sparse device of the given size (in MB by default) using a snapshot.  
 Anything written to the device will be returned when reading from it.
 Reading from other areas of the device will return blocks of zeros.
index ff7514b4fc886b96ece2d4007b752e23e7a97add..38449719e6b1fa1d4257077eacfa8de006ea7b75 100644 (file)
@@ -66,7 +66,6 @@ arg(rows_ARG, '\0', "rows", NULL, 0)
 arg(dataalignment_ARG, '\0', "dataalignment", size_kb_arg, 0)
 arg(dataalignmentoffset_ARG, '\0', "dataalignmentoffset", size_kb_arg, 0)
 arg(virtualoriginsize_ARG, '\0', "virtualoriginsize", size_mb_arg, 0)
-arg(virtualsize_ARG, '\0', "virtualsize", size_mb_arg, 0)
 arg(noudevsync_ARG, '\0', "noudevsync", NULL, 0)
 arg(poll_ARG, '\0', "poll", yes_no_arg, 0)
 arg(stripes_long_ARG, '\0', "stripes", int_arg, 0)
@@ -139,6 +138,7 @@ arg(uuidstr_ARG, 'u', "uuid", string_arg, 0)
 arg(uuidlist_ARG, 'U', "uuidlist", NULL, 0)
 arg(verbose_ARG, 'v', "verbose", NULL, ARG_COUNTABLE)
 arg(volumegroup_ARG, 'V', "volumegroup", NULL, 0)
+arg(virtualsize_ARG, 'V', "virtualsize", size_mb_arg, 0)
 arg(allocatable_ARG, 'x', "allocatable", yes_no_arg, 0)
 arg(resizeable_ARG, 'x', "resizeable", yes_no_arg, 0)
 arg(yes_ARG, 'y', "yes", NULL, 0)
index 4ab810057d8379f3286039cf65bb377ab4bfcb21..b9c983eb0bf83e47e2f6243e903b051438ef50b7 100644 (file)
@@ -175,7 +175,7 @@ xx(lvcreate,
 
    "lvcreate \n"
    "\t{ {-s|--snapshot} OriginalLogicalVolume[Path] |\n"
-   "\t  [-s|--snapshot] VolumeGroupName[Path] --virtualsize VirtualSize}\n"
+   "\t  [-s|--snapshot] VolumeGroupName[Path] -V|--virtualsize VirtualSize}\n"
    "\t[-c|--chunksize]\n"
    "\t[-A|--autobackup {y|n}]\n"
    "\t[--addtag Tag]\n"
This page took 0.043841 seconds and 5 git commands to generate.