EVMS has this already (same syntax exactly).
eg.
monty:~# evms_lvcreate -h
Enterprise Volume Management System
International Business Machines 09/30/02
LVM Emulation Utilities 1.2.0
evms_lvcreate -- initialize a logical volume for use by EVMS
evms_lvcreate [-A|--autobackup {y|n}] [-C|--contiguous {y|n}] [-d|--debug]
[-h|--help] [-i|--stripes Stripes [-I|--stripesize StripeSize]]
{-l|--extents LogicalExtentsNumber |
-L|--size LogicalVolumeSize[kKmMgGtT]} [-n|--name LogicalVolumeName]
[-p|--permission {r|rw}] [-r|--readahead ReadAheadSectors]
[-v|--verbose] [-Z|--zero {y|n}] [--version]
VolumeGroupName [PhysicalVolumePath...]
evms_lvcreate -s|--snapshot [-c|--chunksize ChunkSize]
{-l|--extents LogicalExtentsNumber |
-L|--size LogicalVolumeSize[kKmMgGtT]}
-n|--name SnapshotLogicalVolumeName
LogicalVolume[Path] [PhysicalVolumePath...]
monty:~# /sbin/lvcreate -h
Logical Volume Manager 1.0.4
Heinz Mauelshagen, Sistina Software 02/05/2002 (IOP 10)
lvcreate -- initialize a logical volume for use by LVM
lvcreate [-A|--autobackup {y|n}] [-C|--contiguous {y|n}] [-d|--debug]
[-h|--help] [-i|--stripes Stripes [-I|--stripesize StripeSize]]
{-l|--extents LogicalExtentsNumber |
-L|--size LogicalVolumeSize[kKmMgGtT]} [-n|--name LogicalVolumeName]
[-p|--permission {r|rw}] [-r|--readahead ReadAheadSectors]
[-v|--verbose] [-Z|--zero {y|n}] [--version]
VolumeGroupName [PhysicalVolumePath...]
lvcreate -s|--snapshot [-c|--chunksize ChunkSize]
{-l|--extents LogicalExtentsNumber |
-L|--size LogicalVolumeSize[kKmMgGtT]}
-n|--name SnapshotLogicalVolumeName
LogicalVolume[Path] [PhysicalVolumePath...]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/