git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AC_CHECK_FUNCS for multiple functions.
[libguestfs.git]
/
perl
/
lib
/
Sys
/
Guestfs.pm
diff --git
a/perl/lib/Sys/Guestfs.pm
b/perl/lib/Sys/Guestfs.pm
index
a13c441
..
116f716
100644
(file)
--- a/
perl/lib/Sys/Guestfs.pm
+++ b/
perl/lib/Sys/Guestfs.pm
@@
-484,6
+484,13
@@
Setting C<whattodrop> to 3 should drop everything.
This automatically calls L<sync(2)> before the operation,
so that the maximum guest memory is freed.
This automatically calls L<sync(2)> before the operation,
so that the maximum guest memory is freed.
+=item $equality = $h->equal ($file1, $file2);
+
+This compares the two files C<file1> and C<file2> and returns
+true if their content is exactly equal, or false otherwise.
+
+The external L<cmp(1)> program is used for the comparison.
+
=item $existsflag = $h->exists ($path);
This returns C<true> if and only if there is a file, directory
=item $existsflag = $h->exists ($path);
This returns C<true> if and only if there is a file, directory
@@
-721,7
+728,7
@@
as necessary. This is like the C<mkdir -p> shell command.
=item $h->mkfs ($fstype, $device);
This creates a filesystem on C<device> (usually a partition
=item $h->mkfs ($fstype, $device);
This creates a filesystem on C<device> (usually a partition
-o
f
LVM logical volume). The filesystem type is C<fstype>, for
+o
r
LVM logical volume). The filesystem type is C<fstype>, for
example C<ext3>.
=item $h->mount ($device, $mountpoint);
example C<ext3>.
=item $h->mount ($device, $mountpoint);