X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=guestfs-actions.pod;h=aade37b9175e397e7c6c7634267ad2211f0948df;hb=da8ddb2745c3d53c36e3ad7f09836a4c27a4d3e6;hp=039608d5fc1e52713d37e351835b8fede2bf71c6;hpb=e492608f2f3809a824cb70ee03ff305964b69dd7;p=libguestfs.git diff --git a/guestfs-actions.pod b/guestfs-actions.pod index 039608d..aade37b 100644 --- a/guestfs-actions.pod +++ b/guestfs-actions.pod @@ -1012,6 +1012,25 @@ Because of the message protocol, there is a transfer limit of somewhere between 2MB and 4MB. To transfer large files you should use FTP. +=head2 guestfs_initrd_list + + char **guestfs_initrd_list (guestfs_h *handle, + const char *path); + +This command lists out files contained in an initrd. + +The files are listed without any initial C character. The +files are listed in the order they appear (not necessarily +alphabetical). Directory names are listed as separate items. + +Old Linux kernels (2.4 and earlier) used a compressed ext2 +filesystem as initrd. We I support the newer initramfs +format (compressed cpio files). + +This function returns a NULL-terminated array of strings +(like L), or NULL if there was an error. +I. + =head2 guestfs_is_busy int guestfs_is_busy (guestfs_h *handle); @@ -1312,6 +1331,35 @@ example C. This function returns 0 on success or -1 on error. +=head2 guestfs_mkswap + + int guestfs_mkswap (guestfs_h *handle, + const char *device); + +Create a swap partition on C. + +This function returns 0 on success or -1 on error. + +=head2 guestfs_mkswap_L + + int guestfs_mkswap_L (guestfs_h *handle, + const char *label, + const char *device); + +Create a swap partition on C with label C