Browse Source

Moved noapplexattr under runtime.GOARCH == "amd64" to resolve the fin… (#5351)

Moved noapplexattr under runtime.GOARCH == "amd64" to resolve the finder copy bug on arm64 macOS devices.
pull/5353/head
Sean Ross 10 months ago
committed by GitHub
parent
commit
0833057503
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      weed/command/mount_std.go

4
weed/command/mount_std.go

@ -201,7 +201,9 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
ioSizeMB *= 2
}
fuseMountOptions.Options = append(fuseMountOptions.Options, "daemon_timeout=600")
fuseMountOptions.Options = append(fuseMountOptions.Options, "noapplexattr")
if runtime.GOARCH == "amd64" {
fuseMountOptions.Options = append(fuseMountOptions.Options, "noapplexattr")
}
// fuseMountOptions.Options = append(fuseMountOptions.Options, "novncache") // need to test effectiveness
fuseMountOptions.Options = append(fuseMountOptions.Options, "slow_statfs")
fuseMountOptions.Options = append(fuseMountOptions.Options, "volname="+serverFriendlyName)

Loading…
Cancel
Save