diff options
author | Jakob Unterwurzacher | 2016-09-21 21:25:55 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-09-25 16:43:17 +0200 |
commit | d76e7aadb48e5efd6af6ad42e9146f65f8e89fb8 (patch) | |
tree | a3ac9bbd25c01988ecd4170beddb268c3837a737 /main.go | |
parent | 5f726aaa9d95be30ecfcb61637df3ccc133bf2ea (diff) |
reverse: use dynamic inode numbers
...with stable mappings for hard-linked files.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -349,6 +349,9 @@ func initFuseFrontend(key []byte, args argContainer, confFile *configfile.ConfFi mOpts.Options = append(mOpts.Options, "fsname="+args.cipherdir) // Second column, "Type", will be shown as "fuse." + Name mOpts.Name = "gocryptfs" + if args.reverse { + mOpts.Name += "-reverse" + } // The kernel enforces read-only operation, we just have to pass "ro". // Reverse mounts are always read-only |