summaryrefslogtreecommitdiffstats
path: root/guestfish-actions.pod
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-10 12:53:28 +0100
committerRichard Jones <rjones@redhat.com>2009-04-10 12:55:04 +0100
commit286841877f4223d67ec00b83e5a2aabfbb9e19ed (patch)
tree17ac4dec06100bc6d6396c1080fa5490e255e9b5 /guestfish-actions.pod
parent44da812b424f5e10e268d47149d012d49edf858b (diff)
downloadlibguestfs-286841877f4223d67ec00b83e5a2aabfbb9e19ed.tar.gz
libguestfs-286841877f4223d67ec00b83e5a2aabfbb9e19ed.tar.xz
libguestfs-286841877f4223d67ec00b83e5a2aabfbb9e19ed.zip
Generated files for previous commands.
Diffstat (limited to 'guestfish-actions.pod')
-rw-r--r--guestfish-actions.pod50
1 files changed, 50 insertions, 0 deletions
diff --git a/guestfish-actions.pod b/guestfish-actions.pod
index 63122886..d47e9bf9 100644
--- a/guestfish-actions.pod
+++ b/guestfish-actions.pod
@@ -193,6 +193,23 @@ Note that this function cannot correctly handle binary files
as end of string). For those you need to use the C<read_file>
function which has a more complex interface.
+=head2 chmod
+
+ chmod mode path
+
+Change the mode (permissions) of C<path> to C<mode>. Only
+numeric modes are supported.
+
+=head2 chown
+
+ chown owner group path
+
+Change the file owner to C<owner> and group to C<group>.
+
+Only numeric uid and gid are supported. If you want to use
+names, you will need to locate and parse the password file
+yourself (Augeas support makes this relatively easy).
+
=head2 config
config qemuparam qemuvalue
@@ -302,6 +319,19 @@ See also C<lvs_full>.
List all the logical volumes detected. This is the equivalent
of the L<lvs(8)> command. The "full" version includes all fields.
+=head2 mkdir
+
+ mkdir path
+
+Create a directory named C<path>.
+
+=head2 mkdir-p
+
+ mkdir-p path
+
+Create a directory named C<path>, creating any parent directories
+as necessary. This is like the C<mkdir -p> shell command.
+
=head2 mount
mount device mountpoint
@@ -356,6 +386,26 @@ Note that this function cannot correctly handle binary files
as end of line). For those you need to use the C<read_file>
function which has a more complex interface.
+=head2 rm
+
+ rm path
+
+Remove the single file C<path>.
+
+=head2 rm-rf
+
+ rm-rf path
+
+Remove the file or directory C<path>, recursively removing the
+contents if its a directory. This is like the C<rm -rf> shell
+command.
+
+=head2 rmdir
+
+ rmdir path
+
+Remove the single directory C<path>.
+
=head2 set-autosync | autosync
set-autosync true|false