git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a build test for the 'umask' command.
[libguestfs.git]
/
fish
/
guestfish.pod
diff --git
a/fish/guestfish.pod
b/fish/guestfish.pod
index
1364545
..
dfacf6f
100644
(file)
--- a/
fish/guestfish.pod
+++ b/
fish/guestfish.pod
@@
-98,7
+98,7
@@
the functionality of the guestfs API, see L<guestfs(3)>.
Guestfish gives you structured access to the libguestfs API, from
shell scripts or the command line or interactively. If you want to
Guestfish gives you structured access to the libguestfs API, from
shell scripts or the command line or interactively. If you want to
-rescue a broken virtual machine image, you
might want to
look at the
+rescue a broken virtual machine image, you
should
look at the
L<virt-rescue(1)> command.
Using guestfish in read/write mode on live virtual machines can be
L<virt-rescue(1)> command.
Using guestfish in read/write mode on live virtual machines can be
@@
-313,7
+313,9
@@
the Unix L<chmod(1)> program):
chmod 0777 /public # OK
chmod 777 /public # WRONG! This is mode 777 decimal = 01411 octal.
chmod 0777 /public # OK
chmod 777 /public # WRONG! This is mode 777 decimal = 01411 octal.
-Commands that return numbers currently always print them in decimal.
+Commands that return numbers usually print them in decimal, but
+some commands print numbers in other radices (eg. C<umask> prints
+the mode in octal, preceeded by C<0>).
=head1 WILDCARDS AND GLOBBING
=head1 WILDCARDS AND GLOBBING
@@
-367,6
+369,9
@@
will create a directory C<local> on the host, and then export
the contents of C</remote> on the mounted filesystem to
C<local/remote-data.tar.gz>. (See C<tgz-out>).
the contents of C</remote> on the mounted filesystem to
C<local/remote-data.tar.gz>. (See C<tgz-out>).
+To change the local directory, use the C<lcd> command. C<!cd> will
+have no effect, due to the way that subprocesses work in Unix.
+
=head1 PIPES
Use C<command E<lt>spaceE<gt> | command> to pipe the output of the
=head1 PIPES
Use C<command E<lt>spaceE<gt> | command> to pipe the output of the
@@
-382,6
+387,7
@@
Other examples:
hexdump /bin/ls | head
list-devices | tail -1
hexdump /bin/ls | head
list-devices | tail -1
+ tgz-out / - | tar ztf -
The space before the pipe symbol is required, any space after the pipe
symbol is optional. Everything after the pipe symbol is just passed
The space before the pipe symbol is required, any space after the pipe
symbol is optional. Everything after the pipe symbol is just passed
@@
-738,11
+744,15
@@
I<1> if there was an error.
L<guestfs(3)>,
L<http://libguestfs.org/>,
L<virt-cat(1)>,
L<guestfs(3)>,
L<http://libguestfs.org/>,
L<virt-cat(1)>,
+L<virt-df(1)>,
L<virt-edit(1)>,
L<virt-list-filesystems(1)>,
L<virt-edit(1)>,
L<virt-list-filesystems(1)>,
+L<virt-list-partitions(1)>,
L<virt-ls(1)>,
L<virt-ls(1)>,
+L<virt-make-fs(1)>,
L<virt-rescue(1)>,
L<virt-rescue(1)>,
-L<virt-tar(1)>.
+L<virt-tar(1)>,
+L<virt-win-reg(1)>.
=head1 AUTHORS
=head1 AUTHORS