aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-06-19 12:55:09 -0700
committerChris Lu <chris.lu@gmail.com>2020-06-19 12:55:09 -0700
commitb78a2dc59b6a8a79a5e64091de8b655bba99ddb0 (patch)
tree698151bf563ae974b002d76f5cf138b15bd7b587 /weed/command/mount.go
parentf7a45d448f5efe1bea7c8fc5ee61cb7d535995b5 (diff)
downloadseaweedfs-b78a2dc59b6a8a79a5e64091de8b655bba99ddb0.tar.xz
seaweedfs-b78a2dc59b6a8a79a5e64091de8b655bba99ddb0.zip
adjust help message
Diffstat (limited to 'weed/command/mount.go')
-rw-r--r--weed/command/mount.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go
index fefc4ff53..440aca8c6 100644
--- a/weed/command/mount.go
+++ b/weed/command/mount.go
@@ -40,8 +40,8 @@ func init() {
mountOptions.replication = cmdMount.Flag.String("replication", "", "replication(e.g. 000, 001) to create to files. If empty, let filer decide.")
mountOptions.ttlSec = cmdMount.Flag.Int("ttl", 0, "file ttl in seconds")
mountOptions.chunkSizeLimitMB = cmdMount.Flag.Int("chunkSizeLimitMB", 16, "local write buffer size, also chunk large files")
- mountOptions.cacheDir = cmdMount.Flag.String("cacheDir", os.TempDir(), "local cache directory for file chunks")
- mountOptions.cacheSizeMB = cmdMount.Flag.Int64("cacheCapacityMB", 1000, "local cache capacity in MB (0 will disable cache)")
+ mountOptions.cacheDir = cmdMount.Flag.String("cacheDir", os.TempDir(), "local cache directory for file chunks and meta data")
+ mountOptions.cacheSizeMB = cmdMount.Flag.Int64("cacheCapacityMB", 1000, "local file chunk cache capacity in MB (0 will disable cache)")
mountOptions.dataCenter = cmdMount.Flag.String("dataCenter", "", "prefer to write to the data center")
mountOptions.allowOthers = cmdMount.Flag.Bool("allowOthers", true, "allows other users to access the file system")
mountOptions.umaskString = cmdMount.Flag.String("umask", "022", "octal umask, e.g., 022, 0111")