From 2dce69c4dea0bcb9e98c2965e6ac6b25402fcae9 Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Sun, 8 Jun 2025 14:38:18 +0300 Subject: -onoattrcache with fuse-t by default. Maybe it gets rid of test flakiness. --- src/bindfs.1 | 2 -- src/bindfs.c | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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. -- cgit v1.2.3