aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2025-06-08 14:38:18 +0300
committerMartin Pärtel <martin.partel@gmail.com>2025-06-08 14:38:18 +0300
commit2dce69c4dea0bcb9e98c2965e6ac6b25402fcae9 (patch)
tree27af010adc569eda1d6d9c02326c10bbe40d715b /src
parentd5152d998d44c041a322959eca6a367272eb34c0 (diff)
downloadbindfs-2dce69c4dea0bcb9e98c2965e6ac6b25402fcae9.tar.gz
-onoattrcache with fuse-t by default. Maybe it gets rid of test flakiness.
Diffstat (limited to 'src')
-rw-r--r--src/bindfs.12
-rw-r--r--src/bindfs.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/bindfs.1 b/src/bindfs.1
index ceda806..e89ba2d 100644
--- a/src/bindfs.1
+++ b/src/bindfs.1
@@ -551,8 +551,6 @@ MacFuse caches file contents by default.
This means that changes in source files are not always immediately visible under the mount point.
\fB\-o nolocalcaches\fP can be used to disable the cache.
-With fuse-t, \fB\-o noattrcache\fP is recommended.
-
When using \fB\-\-mirror[-only] @somegroup\fP, bindfs won't see changes to the group's member list.
Sending bindfs a \fBSIGUSR1\fP signal will make it reread the user database.
diff --git a/src/bindfs.c b/src/bindfs.c
index aab2df5..e0e4c1c 100644
--- a/src/bindfs.c
+++ b/src/bindfs.c
@@ -2878,6 +2878,10 @@ int main(int argc, char *argv[])
fuse_opt_add_arg(&args, "-ouse_ino");
#endif
+#ifdef HAVE_FUSE_T
+ fuse_opt_add_arg(&args, "-onoattrcache");
+#endif
+
/* Show the source dir in the first field on /etc/mtab, to be consistent
with "real" filesystems.