diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-07-14 21:09:21 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-07-14 21:09:21 -0700 |
| commit | 7abfab8e77275f97cbc04e048e7d6b6a5ab7b140 (patch) | |
| tree | 99d824138c77f7c56d8adeb8302ed4a5ba976c46 /weed/command/mount_std.go | |
| parent | 3edfe1d28f6cfa9f33fd591b1a4e40c9c592604a (diff) | |
| download | seaweedfs-7abfab8e77275f97cbc04e048e7d6b6a5ab7b140.tar.xz seaweedfs-7abfab8e77275f97cbc04e048e7d6b6a5ab7b140.zip | |
add feature to mount a specific filer path to local directory
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 05ed2a02a..4905df986 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -73,7 +73,7 @@ func runMount(cmd *Command, args []string) bool { filerAddress := fmt.Sprintf("%s:%d", hostnameAndPort[0], filerGrpcPort) err = fs.Serve(c, filesys.NewSeaweedFileSystem( - filerAddress, *mountOptions.collection, *mountOptions.replication, int32(*mountOptions.ttlSec), + filerAddress, *mountOptions.filerMountRootPath, *mountOptions.collection, *mountOptions.replication, int32(*mountOptions.ttlSec), *mountOptions.chunkSizeLimitMB, *mountOptions.dataCenter)) if err != nil { fuse.Unmount(*mountOptions.dir) |
