aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-06-06 00:15:40 -0700
committerchrislu <chris.lu@gmail.com>2022-06-06 00:15:40 -0700
commitcbf46de5f4f788c166028cb223dc4bd70d7eb0f6 (patch)
tree8a3a3a34e3c4c27cb17375801bb16e254a7d8c59 /weed/command/mount.go
parent8402af0882ea33d840d3bb4b386b3bf665cdf615 (diff)
parent1e8d8029ec122c0dd7875c098cec63cc4d816dd0 (diff)
downloadseaweedfs-cbf46de5f4f788c166028cb223dc4bd70d7eb0f6.tar.xz
seaweedfs-cbf46de5f4f788c166028cb223dc4bd70d7eb0f6.zip
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
Diffstat (limited to 'weed/command/mount.go')
-rw-r--r--weed/command/mount.go2
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")