X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=guestfs-actions.pod;h=23e058017fcf5b3545e10c70bb1646cba8aa84a5;hb=76758f42b1abc89d5857697c87ead5036ed81b13;hp=f1b59649a149c13c94095ae2aeb8a8b1c6ef3ec1;hpb=24bee20ce4196d45891925332a47a05aa5e40938;p=libguestfs.git diff --git a/guestfs-actions.pod b/guestfs-actions.pod index f1b5964..23e0580 100644 --- a/guestfs-actions.pod +++ b/guestfs-actions.pod @@ -609,6 +609,19 @@ so that the maximum guest memory is freed. This function returns 0 on success or -1 on error. +=head2 guestfs_equal + + int guestfs_equal (guestfs_h *handle, + const char *file1, + const char *file2); + +This compares the two files C and C and returns +true if their content is exactly equal, or false otherwise. + +The external L program is used for the comparison. + +This function returns a C truth value on success or -1 on error. + =head2 guestfs_exists int guestfs_exists (guestfs_h *handle, @@ -1013,7 +1026,7 @@ This function returns 0 on success or -1 on error. const char *device); This creates a filesystem on C (usually a partition -of LVM logical volume). The filesystem type is C, for +or LVM logical volume). The filesystem type is C, for example C. This function returns 0 on success or -1 on error. @@ -1105,6 +1118,17 @@ either a destination filename or destination directory. This function returns 0 on success or -1 on error. +=head2 guestfs_ping_daemon + + int guestfs_ping_daemon (guestfs_h *handle); + +This is a test probe into the guestfs daemon running inside +the qemu subprocess. Calling this function checks that the +daemon responds to the ping message, without affecting the daemon +or attached block device(s) in any other way. + +This function returns 0 on success or -1 on error. + =head2 guestfs_pvcreate int guestfs_pvcreate (guestfs_h *handle,