diff options
| author | ningfd <fangdi.ning@seetatech.com> | 2022-06-06 11:27:12 +0800 |
|---|---|---|
| committer | ningfd <fangdi.ning@seetatech.com> | 2022-06-06 14:09:01 +0800 |
| commit | f32142f6f5ef42b1b70a2f2b207f6982b7f8c58f (patch) | |
| tree | 43a4dfaed59e14a6e73e7f4088e9f7b43b144fee /weed/command/mount_std.go | |
| parent | 4a046e4de7a40730895f8149120ce8d6e95f961d (diff) | |
| download | seaweedfs-f32142f6f5ef42b1b70a2f2b207f6982b7f8c58f.tar.xz seaweedfs-f32142f6f5ef42b1b70a2f2b207f6982b7f8c58f.zip | |
add disableXAttr in mount option
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 3 |
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) |
