diff options
| author | Richard Jones <rjones@redhat.com> | 2009-04-07 09:52:46 +0100 |
|---|---|---|
| committer | Richard Jones <rjones@redhat.com> | 2009-04-07 09:52:46 +0100 |
| commit | 7ea56c8d0bca01a602df8e87e52d90c5b44e2cc2 (patch) | |
| tree | 76c3d27ffc743dc26fcc53daa4597419dd86b115 /src/generator.ml | |
| parent | 73d6932ab2dd3f9120a1f4a532621c07cb174705 (diff) | |
| download | libguestfs-7ea56c8d0bca01a602df8e87e52d90c5b44e2cc2.tar.gz libguestfs-7ea56c8d0bca01a602df8e87e52d90c5b44e2cc2.tar.xz libguestfs-7ea56c8d0bca01a602df8e87e52d90c5b44e2cc2.zip | |
Rename pvs -> pvs-full (etc), so we can add simple pvs (etc) commands.
Diffstat (limited to 'src/generator.ml')
| -rwxr-xr-x | src/generator.ml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/generator.ml b/src/generator.ml index 8d1dc046..69981f04 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -135,6 +135,7 @@ The full partition device names are returned, eg. C</dev/sda1> This does not return logical volumes. For that you will need to call C<guestfs_lvs>."); +(* ("pvs", (RPVList "physvols", P0), 9, [], "list the LVM physical volumes (PVs)", "\ @@ -152,6 +153,25 @@ of the L<vgs(8)> command."); "\ List all the logical volumes detected. This is the equivalent of the L<lvs(8)> command."); +*) + + ("pvs_full", (RPVList "physvols", P0), 12, [], + "list the LVM physical volumes (PVs)", + "\ +List all the physical volumes detected. This is the equivalent +of the L<pvs(8)> command."); + + ("vgs_full", (RVGList "volgroups", P0), 13, [], + "list the LVM volume groups (VGs)", + "\ +List all the volumes groups detected. This is the equivalent +of the L<vgs(8)> command."); + + ("lvs_full", (RLVList "logvols", P0), 14, [], + "list the LVM logical volumes (LVs)", + "\ +List all the logical volumes detected. This is the equivalent +of the L<lvs(8)> command."); ] (* Column names and types from LVM PVs/VGs/LVs. *) |
