diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2022-06-05 23:41:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-05 23:41:33 -0700 |
| commit | 1e8d8029ec122c0dd7875c098cec63cc4d816dd0 (patch) | |
| tree | 43a4dfaed59e14a6e73e7f4088e9f7b43b144fee /weed/command/mount.go | |
| parent | 4a046e4de7a40730895f8149120ce8d6e95f961d (diff) | |
| parent | f32142f6f5ef42b1b70a2f2b207f6982b7f8c58f (diff) | |
| download | seaweedfs-1e8d8029ec122c0dd7875c098cec63cc4d816dd0.tar.xz seaweedfs-1e8d8029ec122c0dd7875c098cec63cc4d816dd0.zip | |
Merge pull request #3140 from ningfdx/disable_xattr
add disableXAttr in mount option
Diffstat (limited to 'weed/command/mount.go')
| -rw-r--r-- | weed/command/mount.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go index 2569bc3dc..0e32a53e8 100644 --- a/weed/command/mount.go +++ b/weed/command/mount.go @@ -30,6 +30,7 @@ type MountOptions struct { debug *bool debugPort *int localSocket *string + disableXAttr *bool } var ( @@ -65,6 +66,7 @@ func init() { mountOptions.debug = cmdMount.Flag.Bool("debug", false, "serves runtime profiling data, e.g., http://localhost:<debug.port>/debug/pprof/goroutine?debug=2") mountOptions.debugPort = cmdMount.Flag.Int("debug.port", 6061, "http port for debugging") mountOptions.localSocket = cmdMount.Flag.String("localSocket", "", "default to /tmp/seaweedfs-mount-<mount_dir_hash>.sock") + mountOptions.disableXAttr = cmdMount.Flag.Bool("disableXAttr", false, "disable xattr") mountCpuProfile = cmdMount.Flag.String("cpuprofile", "", "cpu profile output file") mountMemProfile = cmdMount.Flag.String("memprofile", "", "memory profile output file") |
