diff options
author | Jakob Unterwurzacher | 2016-11-24 22:36:04 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-11-25 09:19:14 +0100 |
commit | 0f8d3318a321bf19f92e0872d741266cd0431463 (patch) | |
tree | 996edf075751eaa011db27472fd9dd3de2367cd7 /mount.go | |
parent | 024511d9c71558be4b1169d6bb43bd18d65539e0 (diff) |
main, fusefrontend: add "-noprealloc" option
Preallocation is very slow on hdds that run btrfs. Give the
user the option to disable it. This greatly speeds up small file
operations but reduces the robustness against out-of-space errors.
Also add the option to the man page.
More info: https://github.com/rfjakob/gocryptfs/issues/63
Diffstat (limited to 'mount.go')
-rw-r--r-- | mount.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -145,6 +145,7 @@ func initFuseFrontend(key []byte, args *argContainer, confFile *configfile.ConfF CryptoBackend: cryptoBackend, ConfigCustom: args._configCustom, Raw64: args.raw64, + NoPrealloc: args.noprealloc, } // confFile is nil when "-zerokey" or "-masterkey" was used if confFile != nil { |