From dcac2ffe6b181a47e706b5ebc49f23887abaf573 Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 26 Jun 2014 23:18:50 +0000 Subject: Swallow _netdev option so it can be used in fstab --- netfs/fuse/fuse.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netfs/fuse/fuse.cpp b/netfs/fuse/fuse.cpp index 559c57c..9887e7b 100644 --- a/netfs/fuse/fuse.cpp +++ b/netfs/fuse/fuse.cpp @@ -45,6 +45,9 @@ NetFS::FuseApp::opt_parse(void *, const char * arg, int, struct fuse_args *) if (strncmp(arg, "--Ice.", 6) == 0) { return 0; } + else if (strncmp(arg, "_netdev", 7) == 0) { + return 0; + } else if (arg[0] == '-') { return 1; } -- cgit v1.2.3