aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-13 11:59:32 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-13 11:59:32 -0800
commit0d2ec832e2ced90371f2c5549b175d5b93becd1a (patch)
tree8f4fddcc88491331b0e395c1606b8cb9d6d00513 /weed/command/mount.go
parent715b199eeb6fbd3f028b99e42097096fdcac5e09 (diff)
downloadseaweedfs-0d2ec832e2ced90371f2c5549b175d5b93becd1a.tar.xz
seaweedfs-0d2ec832e2ced90371f2c5549b175d5b93becd1a.zip
rename from volumeType to diskType
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 8e9e73315..6a11fe327 100644
--- a/weed/command/mount.go
+++ b/weed/command/mount.go
@@ -12,7 +12,7 @@ type MountOptions struct {
dirAutoCreate *bool
collection *string
replication *string
- volumeType *string
+ diskType *string
ttlSec *int
chunkSizeLimitMB *int
concurrentWriters *int
@@ -42,7 +42,7 @@ func init() {
mountOptions.dirAutoCreate = cmdMount.Flag.Bool("dirAutoCreate", false, "auto create the directory to mount to")
mountOptions.collection = cmdMount.Flag.String("collection", "", "collection to create the files")
mountOptions.replication = cmdMount.Flag.String("replication", "", "replication(e.g. 000, 001) to create to files. If empty, let filer decide.")
- mountOptions.volumeType = cmdMount.Flag.String("volumeType", "", "[hdd|ssd] choose between hard drive or solid state drive")
+ mountOptions.diskType = cmdMount.Flag.String("diskType", "", "[hdd|ssd] choose between hard drive or solid state drive")
mountOptions.ttlSec = cmdMount.Flag.Int("ttl", 0, "file ttl in seconds")
mountOptions.chunkSizeLimitMB = cmdMount.Flag.Int("chunkSizeLimitMB", 2, "local write buffer size, also chunk large files")
mountOptions.concurrentWriters = cmdMount.Flag.Int("concurrentWriters", 0, "limit concurrent goroutine writers if not 0")