diff options
author | Richard Jones <rjones@redhat.com> | 2010-09-08 10:24:01 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-09-08 10:24:22 +0100 |
commit | 574df371a0421b4b83386f43e5095ccea5069e5b (patch) | |
tree | 7528cceadf6ab2bc9961caaab7bfe8a5c8a30cf4 /src/generator.ml | |
parent | 422a8d85d21fc29ee75d27917fd03a164048bfc9 (diff) | |
download | libguestfs-574df371a0421b4b83386f43e5095ccea5069e5b.tar.gz libguestfs-574df371a0421b4b83386f43e5095ccea5069e5b.tar.xz libguestfs-574df371a0421b4b83386f43e5095ccea5069e5b.zip |
fish: Add guestfish -N lvfs for creating formatted LVs.
Diffstat (limited to 'src/generator.ml')
-rwxr-xr-x | src/generator.ml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml index 363e78f7..5c2ffebe 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -5661,7 +5661,21 @@ let prepopts = [ LVM2 physical volume, and place a volume group and logical volume on there. This defaults to creating a 100MB disk with the VG and LV called /dev/VG/LV. You can change the name of the VG and LV - by supplying an alternate name as the first optional parameter."); + by supplying an alternate name as the first optional parameter. + + Note this does not create a filesystem. Use 'lvfs' to do that."); + + ("lvfs", + "create a disk with logical volume and filesystem", + [ "name", "/dev/VG/LV", "the name of the VG and LV to use"; + "filesystem", "ext2", "the type of filesystem to use"; + "size", "100M", "the size of the disk image"; + "partition", "mbr", "partition table type" ], + " Create a disk with a single partition, set up the partition as an + LVM2 physical volume, and place a volume group and logical volume + on there. Then format the LV with a filesystem. This defaults to + creating a 100MB disk with the VG and LV called /dev/VG/LV, with an + ext2 filesystem."); ] |