From 79cdf81e2fb717ea4372a55170d16800cdbddf23 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 22 Apr 2009 21:02:49 +0100 Subject: Generated code for new mount_* commands. --- perl/lib/Sys/Guestfs.pm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'perl/lib') diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm index 273e4fe1..ea826592 100644 --- a/perl/lib/Sys/Guestfs.pm +++ b/perl/lib/Sys/Guestfs.pm @@ -647,6 +647,23 @@ on the underlying device. The filesystem options C and C are set with this call, in order to improve reliability. +=item $h->mount_options ($options, $device, $mountpoint); + +This is the same as the C<$h-Emount> command, but it +allows you to set the mount options as for the +L I<-o> flag. + +=item $h->mount_ro ($device, $mountpoint); + +This is the same as the C<$h-Emount> command, but it +mounts the filesystem with the read-only (I<-o ro>) flag. + +=item $h->mount_vfs ($options, $vfstype, $device, $mountpoint); + +This is the same as the C<$h-Emount> command, but it +allows you to set both the mount options and the vfstype +as for the L I<-o> and I<-t> flags. + =item @devices = $h->mounts (); This returns the list of currently mounted filesystems. It returns -- cgit