diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-02-20 08:26:20 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-02-20 08:26:20 +0000 |
commit | 8d245f97c9c08e5444f0915ab0331af5be9ef2e3 (patch) | |
tree | 913242cbe4cc9a4a26e09d343efcd158069fff61 /sysutils | |
parent | b73456e5e8c85945f39de8392c5d269a87ecfdd0 (diff) | |
download | ports-8d245f97c9c08e5444f0915ab0331af5be9ef2e3.tar.gz ports-8d245f97c9c08e5444f0915ab0331af5be9ef2e3.zip |
Pass "automounted" mount option to mount_fusefs(8)
This only addresses libfuse rejecting unknown option. mount_fusefs(8)
still needs to be fixed separately.
PR: 192852
Notes
Notes:
svn path=/head/; revision=379415
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/fusefs-libs/Makefile | 2 | ||||
-rw-r--r-- | sysutils/fusefs-libs/files/patch-lib_mount_bsd.c | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/fusefs-libs/Makefile b/sysutils/fusefs-libs/Makefile index fb011e96e7b2..02bacdb6bf86 100644 --- a/sysutils/fusefs-libs/Makefile +++ b/sysutils/fusefs-libs/Makefile @@ -3,7 +3,7 @@ PORTNAME= fusefs PORTVERSION= 2.9.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= SF/fuse/fuse-2.X/${PORTVERSION} PKGNAMESUFFIX= -libs diff --git a/sysutils/fusefs-libs/files/patch-lib_mount_bsd.c b/sysutils/fusefs-libs/files/patch-lib_mount_bsd.c index 27efee490db4..281d585fb50b 100644 --- a/sysutils/fusefs-libs/files/patch-lib_mount_bsd.c +++ b/sysutils/fusefs-libs/files/patch-lib_mount_bsd.c @@ -9,6 +9,14 @@ #include <sys/stat.h> #include <sys/wait.h> #include <sys/sysctl.h> +@@ -78,6 +80,7 @@ static const struct fuse_opt fuse_mount_ + FUSE_DUAL_OPT_KEY("ro", KEY_KERN), + FUSE_DUAL_OPT_KEY("rw", KEY_KERN), + FUSE_DUAL_OPT_KEY("auto", KEY_KERN), ++ FUSE_DUAL_OPT_KEY("automounted", KEY_KERN), + /* options supported under both Linux and FBSD */ + FUSE_DUAL_OPT_KEY("allow_other", KEY_KERN), + FUSE_DUAL_OPT_KEY("default_permissions",KEY_KERN), @@ -192,56 +194,12 @@ free(umount_cmd); } |