diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2012-04-05 12:56:05 +0300 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2012-04-05 12:56:05 +0300 |
commit | 2ee96eccd49c8f7f722b6dc21b60147a6c4997ec (patch) | |
tree | 935773238e6a137bfa694bf23e664f9d9f41c8a1 /src/bindfs.c | |
parent | cfb79b08a1e0b72b8d905b24b565485eef13bd3e (diff) | |
download | bindfs-2ee96eccd49c8f7f722b6dc21b60147a6c4997ec.tar.gz |
Made -ouse_ino and -oreaddir_ino the default to mirror inodes.
Diffstat (limited to 'src/bindfs.c')
-rw-r--r-- | src/bindfs.c | 4 |
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()) { |