X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfs-actions.pod;h=f37ec50bd39eb69a6596ebfc2d65969bab9f52b3;hp=054b65cae60cb3d9a9409ee298891f86c2f9a5c4;hb=e250646e7cc99df9bb617c28d13c327ff79ab601;hpb=b6adf09c4d2cc3f1d0285950c151b1fd7688ec67 diff --git a/guestfs-actions.pod b/guestfs-actions.pod index 054b65c..f37ec50 100644 --- a/guestfs-actions.pod +++ b/guestfs-actions.pod @@ -1266,6 +1266,26 @@ either a destination filename or destination directory. This function returns 0 on success or -1 on error. +=head2 guestfs_ntfs_3g_probe + + int guestfs_ntfs_3g_probe (guestfs_h *handle, + int rw, + const char *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. + +On error this function returns -1. + =head2 guestfs_ping_daemon int guestfs_ping_daemon (guestfs_h *handle);