X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fguestfish.pod;h=274f1d416ddff278a25407f653d26f1574eebead;hp=b4cde8169ce8dfa76dc8444a20f1aa0adb4b110e;hb=3920ad95f6b2db8fbf20aa26692877a09070cb04;hpb=ce95be8b185ce697816c3446406d7129e01cc0e1 diff --git a/fish/guestfish.pod b/fish/guestfish.pod index b4cde81..274f1d4 100644 --- a/fish/guestfish.pod +++ b/fish/guestfish.pod @@ -27,10 +27,11 @@ guestfish - the libguestfs Filesystem Interactive SHell Welcome to guestfish, the libguestfs filesystem interactive shell for editing virtual machine filesystems. - Type: 'help' for help with commands + Type: 'help' for a list of commands + 'man' to read the manual 'quit' to quit the shell - > help + > man =head2 From shell scripts @@ -40,7 +41,7 @@ Create a new C file in a guest: add disk.img run mount /dev/vg_guest/lv_root / - write_file /etc/motd "Welcome, new users" 0 + write /etc/motd "Welcome, new users" _EOF_ List the LVM logical volumes in a guest: @@ -56,7 +57,7 @@ Update C in a guest: guestfish \ add disk.img : run : mount /dev/vg_guest/lv_root / : \ - write-file /etc/resolv.conf "nameserver 1.2.3.4" 0 + write /etc/resolv.conf "nameserver 1.2.3.4" Edit C interactively: @@ -550,7 +551,7 @@ multiple times (and can be mixed with I<-a>). The new disk is called C for the first I<-N>, C for the second and so on. Existing files in the current directory are -not overwritten, so you may need to do C. +I. The type briefly describes how the disk should be sized, partitioned, how filesystem(s) should be created, and how content should be added. @@ -679,6 +680,12 @@ itself. Note that C won't do what you might expect. +=head2 man | manual + + man + +Opens the manual page for guestfish. + =head2 more | less more filename