diff options
author | Matthew Booth <mbooth@redhat.com> | 2009-06-29 16:27:05 +0100 |
---|---|---|
committer | Matthew Booth <mbooth@redhat.com> | 2009-06-29 16:27:05 +0100 |
commit | 128f822e16bb96677c75b88125e18f48d7ccedaf (patch) | |
tree | c5f09d72e73c90c02967f48151831e6c4a78fb68 /guestfs-actions.pod | |
parent | 103fb55e6b1428366ab31a0f17484ef1baa68e96 (diff) | |
parent | ad475104ec7fae456d3309cbf4261b893ed160bb (diff) | |
download | libguestfs-128f822e16bb96677c75b88125e18f48d7ccedaf.tar.gz libguestfs-128f822e16bb96677c75b88125e18f48d7ccedaf.tar.xz libguestfs-128f822e16bb96677c75b88125e18f48d7ccedaf.zip |
Merge commit 'et/master'
Diffstat (limited to 'guestfs-actions.pod')
-rw-r--r-- | guestfs-actions.pod | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/guestfs-actions.pod b/guestfs-actions.pod index 039608d5..56949faa 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<only> support the newer initramfs +format (compressed cpio files). + +This function returns a NULL-terminated array of strings +(like L<environ(3)>), or NULL if there was an error. +I<The caller must free the strings and the array after use>. + =head2 guestfs_is_busy int guestfs_is_busy (guestfs_h *handle); @@ -1337,6 +1356,18 @@ call, in order to improve reliability. This function returns 0 on success or -1 on error. +=head2 guestfs_mount_loop + + int guestfs_mount_loop (guestfs_h *handle, + const char *file, + const char *mountpoint); + +This command lets you mount C<file> (a filesystem image +in a file) on a mount point. It is entirely equivalent to +the command C<mount -o loop file mountpoint>. + +This function returns 0 on success or -1 on error. + =head2 guestfs_mount_options int guestfs_mount_options (guestfs_h *handle, |