summaryrefslogtreecommitdiffhomepage
path: root/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-09-13 12:01:13 -0400
committerJoey Hess <joeyh@joeyh.name>2016-09-13 12:01:13 -0400
commit9225bb5aea76e135c9bb16e9fa98862317e0efd4 (patch)
treef144e8e4dabb842351e11194736a62b480f29414 /CmdLine.hs
parentc8469290bde44a39863e64142ef40ea0fa040700 (diff)
downloadkeysafe-9225bb5aea76e135c9bb16e9fa98862317e0efd4.tar.gz
don't need --disk-reserve
keysafe does not run as root, so the normal ext2 disk reserve will do
Diffstat (limited to 'CmdLine.hs')
-rw-r--r--CmdLine.hs8
1 files changed, 0 insertions, 8 deletions
diff --git a/CmdLine.hs b/CmdLine.hs
index 067d726..34233d1 100644
--- a/CmdLine.hs
+++ b/CmdLine.hs
@@ -33,7 +33,6 @@ data Mode = Backup | Restore | UploadQueued | Server | Benchmark | Test
data ServerConfig = ServerConfig
{ serverPort :: Port
, serverAddress :: String
- , diskReserveMb :: Int
, monthsToFillHalfDisk :: Int
}
@@ -137,13 +136,6 @@ parse = CmdLine
<> help "Address for server to bind to. (Use \"*\" to bind to all addresses.)"
)
<*> option auto
- ( long "disk-reserve"
- <> metavar "N"
- <> value 256
- <> showDefault
- <> help "Server refuses to store objects if less than this much disk space (in megabytes) is free"
- )
- <*> option auto
( long "months-to-fill-half-disk"
<> metavar "N"
<> value 12