X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfish.pod;h=876b9883667338bbcec34b2751546e76b3f573d6;hp=9b49fe15f4de48f603d5581a8007590b95a8aad4;hb=12f3e9780f2f35f6b81da8eb90ff24dd9ac93253;hpb=3266e51054fdc1f584bd7a8611c7706e6d0b7cef diff --git a/guestfish.pod b/guestfish.pod index 9b49fe1..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 @@ -457,6 +462,14 @@ number of gigabytes number of terabytes +=item CP or CPB + +number of petabytes + +=item CE or CEB + +number of exabytes + =item Csects number of 512 byte sectors @@ -570,6 +583,14 @@ number of gigabytes number of terabytes +=item CP or CPB + +number of petabytes + +=item CE or CEB + +number of exabytes + =item Csects number of 512 byte sectors @@ -666,6 +687,7 @@ L, L, L, L, +L, L, L, L.