aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.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_std.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_std.go')
-rw-r--r--weed/command/mount_std.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 1d929dc96..1aff3c5bb 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -175,7 +175,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
FsName: serverFriendlyName + ":" + filerMountRootPath,
Name: "seaweedfs",
SingleThreaded: false,
- DisableXAttrs: false,
+ DisableXAttrs: *option.disableXAttr,
Debug: *option.debug,
EnableLocks: false,
ExplicitDataCacheControl: false,
@@ -238,6 +238,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
VolumeServerAccess: *mountOptions.volumeServerAccess,
Cipher: cipher,
UidGidMapper: uidGidMapper,
+ DisableXAttr: *option.disableXAttr,
})
server, err := fuse.NewServer(seaweedFileSystem, dir, fuseMountOptions)