diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-27 13:41:59 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-27 13:41:59 +0100 |
commit | b03ee3675bed8d739ae722ed8c030ae02b3cb0ed (patch) | |
tree | f5023b4c49af30258b76f187fbbcb11f5dbad708 /guestfish-actions.pod | |
parent | afca1dba5eeb989c231a22df26e48f0967387547 (diff) | |
download | libguestfs-b03ee3675bed8d739ae722ed8c030ae02b3cb0ed.tar.gz libguestfs-b03ee3675bed8d739ae722ed8c030ae02b3cb0ed.tar.xz libguestfs-b03ee3675bed8d739ae722ed8c030ae02b3cb0ed.zip |
Generated code for ext2 UUID and label functions.
Diffstat (limited to 'guestfish-actions.pod')
-rw-r--r-- | guestfish-actions.pod | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/guestfish-actions.pod b/guestfish-actions.pod index 47fb59b7..62688eed 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -455,6 +455,20 @@ particular that the filename is not prepended to the output Get the autosync flag. +=head2 get-e2label + + get-e2label device + +This returns the ext2/3/4 filesystem label of the filesystem on +C<device>. + +=head2 get-e2uuid + + get-e2uuid device + +This returns the ext2/3/4 filesystem UUID of the filesystem on +C<device>. + =head2 get-path get-path @@ -812,6 +826,29 @@ If C<autosync> is true, this enables autosync. Libguestfs will make a best effort attempt to run C<sync> when the handle is closed (also if the program exits without closing handles). +=head2 set-e2label + + set-e2label device label + +This sets the ext2/3/4 filesystem label of the filesystem on +C<device> to C<label>. Filesystem labels are limited to +16 characters. + +You can use either C<tune2fs-l> or C<get-e2label> +to return the existing label on a filesystem. + +=head2 set-e2uuid + + set-e2uuid device uuid + +This sets the ext2/3/4 filesystem UUID of the filesystem on +C<device> to C<uuid>. The format of the UUID and alternatives +such as C<clear>, C<random> and C<time> are described in the +L<tune2fs(8)> manpage. + +You can use either C<tune2fs-l> or C<get-e2uuid> +to return the existing UUID of a filesystem. + =head2 set-path | path set-path path |