aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindfs.c')
-rw-r--r--src/bindfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bindfs.c b/src/bindfs.c
index 35b1b48..3bda72f 100644
--- a/src/bindfs.c
+++ b/src/bindfs.c
@@ -1501,6 +1501,10 @@ int main(int argc, char *argv[])
/* We want the kernel to do our access checks for us based on what getattr gives it. */
fuse_opt_add_arg(&args, "-odefault_permissions");
+ /* We want to mirror inodes. */
+ fuse_opt_add_arg(&args, "-ouse_ino");
+ fuse_opt_add_arg(&args, "-oreaddir_ino");
+
/* We need to disable the attribute cache whenever two users
can see different attributes. For now, only mirroring can do that. */
if (is_mirroring_enabled()) {