X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfish-actions.pod;h=47fb59b795f99725f82a1d431daf0fecdd657524;hp=87ba0181e5dce772446e3ed9eabce8d878c8a3f0;hb=9501ab7792e50e464dc65e9190a0e1d84b5dd423;hpb=6fd5bc84893c600af75ef64fa9f9a043b665c76a diff --git a/guestfish-actions.pod b/guestfish-actions.pod index 87ba018..47fb59b 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -403,6 +403,18 @@ The first character of C string must be a C<-> (dash). C can be NULL. +=head2 debug + + debug subcmd 'extraargs ...' + +The C command exposes some internals of +C (the guestfs daemon) that runs inside the +qemu subprocess. + +There is no comprehensive help for this command. You have +to look at the file C in the libguestfs source +to find out what you can do. + =head2 download download remotefilename (filename|-) @@ -617,6 +629,16 @@ and physical volumes. B. +=head2 lvremove + + lvremove device + +Remove an LVM logical volume C, where C is +the path to the LV, such as C. + +You can also remove all LVs in a volume group by specifying +the VG name, C. + =head2 lvs lvs @@ -718,6 +740,17 @@ This creates an LVM physical volume on the named C, where C should usually be a partition name such as C. +=head2 pvremove + + pvremove device + +This wipes a physical volume C so that LVM will no longer +recognise it. + +The implementation uses the C command which refuses to +wipe physical volumes that contain any volume groups, so you have +to remove those first. + =head2 pvs pvs @@ -930,8 +963,8 @@ to create a new zero-length file. tune2fs-l device -This returns the contents of the ext2 or ext3 filesystem superblock -on C. +This returns the contents of the ext2, ext3 or ext4 filesystem +superblock on C. It is the same as running C. See L manpage for more details. The list of fields returned isn't @@ -974,6 +1007,15 @@ Use C<-> instead of a filename to read/write from stdin/stdout. This creates an LVM volume group called C from the non-empty list of physical volumes C. +=head2 vgremove + + vgremove vgname + +Remove an LVM volume group C, (for example C). + +This also forcibly removes all logical volumes in the volume +group (if any). + =head2 vgs vgs