X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfish.pod;h=876b9883667338bbcec34b2751546e76b3f573d6;hp=8ae1800915c3cc42ade92253c4005930ca350aa3;hb=f4845292fbed5560483aa5512af3a409c4f2f7a2;hpb=857954dfbdd287d2e00d40c8c60f6cbe5b5730e2 diff --git a/guestfish.pod b/guestfish.pod index 8ae1800..876b988 100644 --- a/guestfish.pod +++ b/guestfish.pod @@ -49,13 +49,13 @@ Remove C (in reality not such a great idea): =head2 As an interactive shell $ guestfish - + Welcome to guestfish, the libguestfs filesystem interactive shell for editing virtual machine filesystems. - + Type: 'help' for help with commands 'quit' to quit the shell - + > help =head2 As a script interpreter @@ -63,7 +63,7 @@ Remove C (in reality not such a great idea): #!/usr/bin/guestfish -f alloc /tmp/output.img 10M run - sfdisk /dev/sda 0 0 0 , + part-disk /dev/sda mbr mkfs ext2 /dev/sda1 =head2 Remote control @@ -152,6 +152,11 @@ You have to mount something on C before most commands will work. If any C<-m> or C<--mount> options are given, the guest is automatically launched. +If you don't know what filesystems a disk image contains, you +can either run guestfish without this option, then list the partitions +and LVs available (see L and L commands), +or you can use the L program. + =item B<-n> | B<--no-sync> Disable autosync. This is enabled by default. See the discussion @@ -682,6 +687,7 @@ L, L, L, L, +L, L, L, L.