X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfish.pod;h=e4b233371f8a71c2107613023fb403009e948755;hp=4f8cf95d09e9000dbb3596c6ba5cab3440628158;hb=a4217192672fb4f2ff60efcacc59a202d9f77bd9;hpb=a86aa7d152ed996170714a3a4516eab58bf8b59d diff --git a/guestfish.pod b/guestfish.pod index 4f8cf95..e4b2333 100644 --- a/guestfish.pod +++ b/guestfish.pod @@ -130,9 +130,9 @@ Typical usage is either: guestfish -i /dev/Guests/MyGuest -You cannot use I<-a>, I<-m>, I<--listen> or I<--remote> in conjunction -with this option, and options other than I<--ro> might not behave -correctly. +You cannot use I<-a>, I<-m>, I<--listen>, I<--remote> or I<--selinux> +in conjunction with this option, and options other than I<--ro> might +not behave correctly. See also: L. @@ -167,6 +167,10 @@ I below. This changes the C<-m> option so that mounts are done read-only (see C in the L manpage). +=item B<--selinux> + +Enable SELinux support for the guest. See L. + =item B<-v> | B<--verbose> Enable very verbose messages. This is particularly useful if you find @@ -246,9 +250,13 @@ quotes. For example: rm '/"' A few commands require a list of strings to be passed. For these, use -a space-separated list, enclosed in quotes. For example: +a whitespace-separated list, enclosed in quotes. Strings containing whitespace +to be passed through must be enclosed in single quotes. A literal single quote +must be escaped with a backslash. vgcreate VG "/dev/sda1 /dev/sdb1" + command "/bin/echo 'foo bar'" + command "/bin/echo \'foo\'" =head1 WILDCARDS AND GLOBBING @@ -328,6 +336,20 @@ to quote it, eg: echo "|" +=head1 HOME DIRECTORIES + +If a parameter starts with the character C<~> then the tilde may be +expanded as a home directory path (either C<~> for the current user's +home directory, or C<~user> for another user). + +Note that home directory expansion happens for users known I, not in the guest filesystem. + +To use a literal argument which begins with a tilde, you have to quote +it, eg: + + echo "~" + =head1 EXIT ON ERROR BEHAVIOUR By default, guestfish will ignore any errors when in interactive mode @@ -376,13 +398,6 @@ You can have several guestfish listener processes running using: guestfish --remote=$pid1 cmd guestfish --remote=$pid2 cmd -=head2 STANDARD OUTPUT DURING REMOTE CONTROL - -Because of limitations in the C statement, stdout from the -listener is currently redirected to C. - -Stderr is unchanged. - =head2 REMOTE CONTROL DETAILS Remote control happens over a Unix domain socket called @@ -557,11 +572,25 @@ Set the default qemu binary that libguestfs uses. If not set, then the qemu which was found at compile time by the configure script is used. +=item LIBGUESTFS_TRACE + +Set C to enable command traces. + =item PAGER The C command uses C<$PAGER> as the pager. If not set, it uses C. +=item TMPDIR + +Location of temporary directory, defaults to C. + +If libguestfs was compiled to use the supermin appliance then each +handle will require rather a large amount of space in this directory +for short periods of time (~ 80 MB). You can use C<$TMPDIR> to +configure another directory to use in case C is not large +enough. + =back =head1 EXIT CODE @@ -572,7 +601,12 @@ I<1> if there was an error. =head1 SEE ALSO L, -L. +L, +L, +L, +L, +L, +L. =head1 AUTHORS