summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 8b9b4b1a018..1b2ae63ded8 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -112,7 +112,11 @@ glusterd_is_fuse_available ()
int fd = 0;
+#ifdef __NetBSD__
+ fd = open ("/dev/puffs", O_RDWR);
+#else
fd = open ("/dev/fuse", O_RDWR);
+#endif
if (fd > -1 && !close (fd))
return _gf_true;