X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fntfs.c;h=b35300848a11334f3b7fbf59b7eea8ee2b33244f;hb=2d9953097b6d3b71122d444a4550047e97aee009;hp=85deb654e035285b80f29422a641417018164c38;hpb=8fd7f255d611d2092a244c4a48c6b7b4529e98b1;p=libguestfs.git diff --git a/daemon/ntfs.c b/daemon/ntfs.c index 85deb65..b353008 100644 --- a/daemon/ntfs.c +++ b/daemon/ntfs.c @@ -25,6 +25,14 @@ #include "daemon.h" #include "actions.h" +#include "optgroups.h" + +int +optgroup_ntfs3g_available (void) +{ + int r = access ("/bin/ntfs-3g.probe", X_OK); + return r == 0; +} int do_ntfs_3g_probe (int rw, const char *device)