summaryrefslogtreecommitdiffstats
path: root/guestfs-actions.pod
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-06-08 17:44:18 +0100
committerRichard Jones <rjones@redhat.com>2009-06-08 17:44:18 +0100
commit460d139e6a52da67a4f1947035b1978610349f78 (patch)
tree798177aa71bc9615074cd1a9a351ff4b38165c7c /guestfs-actions.pod
parent3de234656bc61a2d35b0f1a9ccb1e6ef7535166b (diff)
downloadlibguestfs-460d139e6a52da67a4f1947035b1978610349f78.tar.gz
libguestfs-460d139e6a52da67a4f1947035b1978610349f78.tar.xz
libguestfs-460d139e6a52da67a4f1947035b1978610349f78.zip
Generated code for ntfs_3g_probe command.
Diffstat (limited to 'guestfs-actions.pod')
-rw-r--r--guestfs-actions.pod20
1 files changed, 20 insertions, 0 deletions
diff --git a/guestfs-actions.pod b/guestfs-actions.pod
index 054b65ca..f37ec50b 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<ntfs-3g.probe(8)> command which probes
+an NTFS C<device> for mountability. (Not all NTFS volumes can
+be mounted read-write, and some cannot be mounted at all).
+
+C<rw> 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<ntfs-3g.probe(8)> manual page.
+
+On error this function returns -1.
+
=head2 guestfs_ping_daemon
int guestfs_ping_daemon (guestfs_h *handle);