X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=perl%2Flib%2FSys%2FGuestfs.pm;h=05adfcb470117b8f480889fdb746b8fe33b86b6b;hb=460d139e6a52da67a4f1947035b1978610349f78;hp=445d9b8bfd8abcc4b802584ec0500c69b939e0c2;hpb=3de234656bc61a2d35b0f1a9ccb1e6ef7535166b;p=libguestfs.git diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm index 445d9b8..05adfcb 100644 --- a/perl/lib/Sys/Guestfs.pm +++ b/perl/lib/Sys/Guestfs.pm @@ -889,6 +889,20 @@ 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 $status = $h->ntfs_3g_probe ($rw, $device); + +This command runs the L command which probes +an NTFS C for mountability. (Not all NTFS volumes can +be mounted read-write, and some cannot be mounted at all). + +C is a boolean flag. Set it to true if you want to test +if the volume can be mounted read-write. Set it to false if +you want to test if the volume can be mounted read-only. + +The return value is an integer which C<0> if the operation +would succeed, or some non-zero value documented in the +L manual page. + =item $h->ping_daemon (); This is a test probe into the guestfs daemon running inside