From 2ee96eccd49c8f7f722b6dc21b60147a6c4997ec Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Thu, 5 Apr 2012 12:56:05 +0300 Subject: Made -ouse_ino and -oreaddir_ino the default to mirror inodes. --- src/bindfs.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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()) { -- cgit v1.2.3