diff options
author | Jesse Dunietz | 2018-10-06 15:49:33 -0400 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-10-11 20:16:45 +0200 |
commit | 87d3ed9187cb9caccaa8df0769d4cb722cc5bd00 (patch) | |
tree | 14963c3f66b1277f0bf7904650665156e102929a /help.go | |
parent | 57a5a8791f8a8c957aef87aecfa4fa318873b744 (diff) |
Add option for autounmount
Even though filesystem notifications aren't implemented for FUSE, I decided to
try my hand at implementing the autounmount feature (#128). I based it on the
EncFS autounmount code, which records filesystem accesses and checks every X
seconds whether it's idled long enough to unmount.
I've tested the feature locally, but I haven't added any tests for this flag.
I also haven't worked with Go before. So please let me know if there's
anything that should be done differently.
One particular concern: I worked from the assumption that the open files table
is unique per-filesystem. If that's not true, I'll need to add an open file
count and associated lock to the Filesystem type instead.
https://github.com/rfjakob/gocryptfs/pull/265
Diffstat (limited to 'help.go')
-rw-r--r-- | help.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,6 +19,7 @@ func helpShort() { Common Options (use -hh to show all): -aessiv Use AES-SIV encryption (with -init) -allow_other Allow other users to access the mount + -i, -idle Unmount automatically after specified idle duration -config Custom path to config file -ctlsock Create control socket at location -extpass Call external program to prompt for the password |