X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfish.pod;h=876b9883667338bbcec34b2751546e76b3f573d6;hp=7755cc629ce5bf7cb75b6fb4f67ce1c6effc2d00;hb=12f3e9780f2f35f6b81da8eb90ff24dd9ac93253;hpb=5ce72e039ca332ba19bb9122b7c93d257e745bb5 diff --git a/guestfish.pod b/guestfish.pod index 7755cc6..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 @@ -453,6 +458,18 @@ number of megabytes number of gigabytes +=item CT or CTB + +number of terabytes + +=item CP or CPB + +number of petabytes + +=item CE or CEB + +number of exabytes + =item Csects number of 512 byte sectors @@ -562,6 +579,18 @@ number of megabytes number of gigabytes +=item CT or CTB + +number of terabytes + +=item CP or CPB + +number of petabytes + +=item CE or CEB + +number of exabytes + =item Csects number of 512 byte sectors @@ -658,6 +687,7 @@ L, L, L, L, +L, L, L, L.