More "no" prefixes for FreBSD mount routine
authorCsaba Henk <csaba.henk@creo.hu>
Thu, 6 Apr 2006 00:12:44 +0000 (00:12 +0000)
committerCsaba Henk <csaba.henk@creo.hu>
Thu, 6 Apr 2006 00:12:44 +0000 (00:12 +0000)
ChangeLog
lib/mount_bsd.c

index 66f8aac44f2dac57e0ad84d2f2e5424e75edd726..97fdce3620bdc7e269b390a2970c8bad23ac5613 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-06  Csaba Henk <csaba.henk@creo.hu>
+
+       * lib: Let FreeBSD mount option parsing routine recognize "no"
+       prefixes for FUSE specific options as well
+
 2006-04-01  Miklos Szeredi <miklos@szeredi.hu>
 
        * lib: Add missing rwlock initialization.  Patch by Ryan Bradetich
index 8b3a6d1fb1722d52e1ff8d4fa58552fddb5dccb3..aefc69fcd97ed651f82d4ecf82164140a5c29460 100644 (file)
@@ -71,6 +71,13 @@ static const struct fuse_opt fuse_mount_opts[] = {
     FUSE_OPT_KEY("ro",                  KEY_KERN),
     FUSE_OPT_KEY("rw",                  KEY_KERN),
     FUSE_OPT_KEY("auto",                KEY_KERN),
+    /* options supported under both Linux and FBSD */
+    FUSE_OPT_KEY("allow_other",         KEY_KERN),
+    FUSE_OPT_KEY("default_permissions", KEY_KERN),
+    /* FBSD FUSE specific mount options */
+    FUSE_OPT_KEY("private",             KEY_KERN),
+    FUSE_OPT_KEY("neglect_shares",      KEY_KERN),
+    FUSE_OPT_KEY("push_symlinks_in",    KEY_KERN),
     /* stock FBSD mountopt parsing routine lets anything be negated... */
     FUSE_OPT_KEY("nodev",               KEY_KERN),
     FUSE_OPT_KEY("noasync",             KEY_KERN),
@@ -95,13 +102,11 @@ static const struct fuse_opt fuse_mount_opts[] = {
     FUSE_OPT_KEY("noro",                KEY_KERN),
     FUSE_OPT_KEY("norw",                KEY_KERN),
     FUSE_OPT_KEY("noauto",              KEY_KERN),
-    /* options supported under both Linux and FBSD */
-    FUSE_OPT_KEY("allow_other",         KEY_KERN),
-    FUSE_OPT_KEY("default_permissions", KEY_KERN),
-    /* FBSD FUSE specific mount options */
-    FUSE_OPT_KEY("private",             KEY_KERN),
-    FUSE_OPT_KEY("neglect_shares",      KEY_KERN),
-    FUSE_OPT_KEY("push_symlinks_in",    KEY_KERN),
+    FUSE_OPT_KEY("noallow_other",       KEY_KERN),
+    FUSE_OPT_KEY("nodefault_permissions", KEY_KERN),
+    FUSE_OPT_KEY("noprivate",           KEY_KERN),
+    FUSE_OPT_KEY("noneglect_shares",    KEY_KERN),
+    FUSE_OPT_KEY("nopush_symlinks_in",  KEY_KERN),
     /* Linux specific mount options, but let just the mount util handle them */
     FUSE_OPT_KEY("fsname=",             KEY_KERN),
     FUSE_OPT_KEY("nonempty",            KEY_KERN),