From 0f8d3318a321bf19f92e0872d741266cd0431463 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 24 Nov 2016 22:36:04 +0100 Subject: 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 --- mount.go | 1 + 1 file changed, 1 insertion(+) (limited to 'mount.go') diff --git a/mount.go b/mount.go index 3bafd8c..29d34b8 100644 --- a/mount.go +++ b/mount.go @@ -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 { -- cgit v1.2.3