summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2014-06-26 23:18:50 +0000
committerrandomdan <randomdan@localhost>2014-06-26 23:18:50 +0000
commitdcac2ffe6b181a47e706b5ebc49f23887abaf573 (patch)
tree33400a7c091fc5afa328f55f9d04fe5c91e38bd8
parentMore friendly linkflags and some ycm configs (diff)
downloadnetfs-dcac2ffe6b181a47e706b5ebc49f23887abaf573.tar.bz2
netfs-dcac2ffe6b181a47e706b5ebc49f23887abaf573.tar.xz
netfs-dcac2ffe6b181a47e706b5ebc49f23887abaf573.zip
Swallow _netdev option so it can be used in fstab
-rw-r--r--netfs/fuse/fuse.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}