libgocryptfs/internal
Jesse Dunietz 87d3ed9187 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
2018-10-11 20:16:45 +02:00
..
configfile configfile: add LoadAndDecrypt wrapper 2018-09-08 12:40:29 +02:00
contentenc contentenc: reserve one extra block in pool plaintext buffers 2018-07-15 11:39:19 +02:00
cryptocore tlog: stop embedding log.Logger to prevent mistakes 2018-02-28 09:02:18 +01:00
ctlsock fsck: clean up log output 2018-04-02 18:32:30 +02:00
exitcodes reverse mode: add --exclude option 2018-08-11 23:26:49 +02:00
fusefrontend Add option for autounmount 2018-10-11 20:16:45 +02:00
fusefrontend_reverse syscallcompat: use O_PATH in OpenDirNofollow 2018-09-08 18:06:33 +02:00
nametransform fusefrontend: get rid of os.File* wrapping 2018-09-23 12:17:26 +02:00
openfiletable Add option for autounmount 2018-10-11 20:16:45 +02:00
pathiv pathiv: fix test failure on Go 1.6 2017-05-31 08:21:36 +02:00
prefer_openssl prefer_openssl: default to Go GCM on OSX 2016-12-10 21:04:17 +01:00
readpassword trezor: show support in version string 2018-08-15 23:31:37 +02:00
serialize_reads fix golint complaints 2017-04-29 14:50:58 +02:00
siv_aead siv_aead: create private key copy and implement wiping 2018-02-18 16:01:46 +01:00
speed fix golint complaints 2017-04-29 14:50:58 +02:00
stupidgcm stupidgcm: return error on too short input instead of panicing 2018-05-10 23:00:02 +02:00
syscallcompat tests: syscallcompat: allow failure for symlinks > 1000 2018-10-11 19:45:47 +02:00
tlog tlog: always trim trailing newlines 2018-09-23 11:28:49 +02:00