X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfish-actions.pod;h=8ced2e14f8e96609f7110fcde5e77d470c4b8a67;hp=2b4e99e624892579b2bc605173ae82cf4985776d;hb=0884d8bbae6d76a603ec1385ada2938f88981c5c;hpb=c6d6f5ae1b76ec9aa5c540906aeed73d25d13eb9 diff --git a/guestfish-actions.pod b/guestfish-actions.pod index 2b4e99e..8ced2e1 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -685,6 +685,20 @@ C. This returns the ext2/3/4 filesystem UUID of the filesystem on C. +=head2 get-memsize + + get-memsize + +This gets the memory size in megabytes allocated to the +qemu subprocess. + +If C was not called +on this handle, and if C was not set, +then this returns the compiled-in default value for memsize. + +For more information on the architecture of libguestfs, +see L. + =head2 get-path get-path @@ -1006,6 +1020,14 @@ directory and its contents after use. See also: L +=head2 mkfifo + + mkfifo mode path + +This call creates a FIFO (named pipe) called C with +mode C. It is just a convenient wrapper around +C. + =head2 mkfs mkfs fstype device @@ -1014,6 +1036,52 @@ This creates a filesystem on C (usually a partition or LVM logical volume). The filesystem type is C, for example C. +=head2 mknod + + mknod mode devmajor devminor path + +This call creates block or character special devices, or +named pipes (FIFOs). + +The C parameter should be the mode, using the standard +constants. C and C are the +device major and minor numbers, only used when creating block +and character special devices. + +=head2 mknod-b + + mknod-b mode devmajor devminor path + +This call creates a block device node called C with +mode C and device major/minor C and C. +It is just a convenient wrapper around C. + +=head2 mknod-c + + mknod-c mode devmajor devminor path + +This call creates a char device node called C with +mode C and device major/minor C and C. +It is just a convenient wrapper around C. + +=head2 mkswap + + mkswap device + +Create a swap partition on C. + +=head2 mkswap-L + + mkswap-L label device + +Create a swap partition on C with label C