diff options
| author | hilimd <68371223+hilimd@users.noreply.github.com> | 2020-07-30 09:46:44 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-30 09:46:44 +0800 |
| commit | 4a88cca543cb487e04c13703d263c3f19f4c1e92 (patch) | |
| tree | e0b7f3b3e5728fe0d11503e4580987a026d161d9 /weed/command/mount.go | |
| parent | 92c32f9d46c6cf817ca447b20c4919dfd7978624 (diff) | |
| parent | 5080bc1d6964cc71044333edc7ee36c1c1f06adb (diff) | |
| download | seaweedfs-4a88cca543cb487e04c13703d263c3f19f4c1e92.tar.xz seaweedfs-4a88cca543cb487e04c13703d263c3f19f4c1e92.zip | |
Merge pull request #6 from chrislusf/master
sync
Diffstat (limited to 'weed/command/mount.go')
| -rw-r--r-- | weed/command/mount.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go index 440aca8c6..a0e573423 100644 --- a/weed/command/mount.go +++ b/weed/command/mount.go @@ -9,7 +9,6 @@ type MountOptions struct { filerMountRootPath *string dir *string dirAutoCreate *bool - dirListCacheLimit *int64 collection *string replication *string ttlSec *int @@ -35,7 +34,6 @@ func init() { mountOptions.filerMountRootPath = cmdMount.Flag.String("filer.path", "/", "mount this remote path from filer server") mountOptions.dir = cmdMount.Flag.String("dir", ".", "mount weed filer to this directory") mountOptions.dirAutoCreate = cmdMount.Flag.Bool("dirAutoCreate", false, "auto create the directory to mount to") - mountOptions.dirListCacheLimit = cmdMount.Flag.Int64("dirListCacheLimit", 1000000, "limit cache size to speed up directory long format listing") 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.ttlSec = cmdMount.Flag.Int("ttl", 0, "file ttl in seconds") |
