X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=perl%2Flib%2FSys%2FGuestfs.pm;h=116f7163a58a9b310ad69728cc668f495fba46bb;hb=459da0831ca259fc06dacb773e5ce602bd4ac226;hp=01d81a6f18c95255459e698bca593ae833311d12;hpb=24bee20ce4196d45891925332a47a05aa5e40938;p=libguestfs.git diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm index 01d81a6..116f716 100644 --- a/perl/lib/Sys/Guestfs.pm +++ b/perl/lib/Sys/Guestfs.pm @@ -484,6 +484,13 @@ Setting C to 3 should drop everything. This automatically calls L before the operation, so that the maximum guest memory is freed. +=item $equality = $h->equal ($file1, $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. + =item $existsflag = $h->exists ($path); This returns C if and only if there is a file, directory @@ -721,7 +728,7 @@ as necessary. This is like the C shell command. =item $h->mkfs ($fstype, $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. =item $h->mount ($device, $mountpoint); @@ -772,6 +779,13 @@ Some internal mounts are not shown. This moves a file from C to C where C is either a destination filename or destination directory. +=item $h->ping_daemon (); + +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. + =item $h->pvcreate ($device); This creates an LVM physical volume on the named C,