diff options
| author | chrislu <chris.lu@gmail.com> | 2024-11-07 14:18:59 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-11-07 14:18:59 -0800 |
| commit | 113c9ce6a83e0554e73aa881a6eb94690a05a0a7 (patch) | |
| tree | 0df5b5772af35f229141f4dce958e69e55785f55 /weed/command/mount_std.go | |
| parent | 88a1eee31cba0acd505a4881a7a7baf453829ba8 (diff) | |
| download | seaweedfs-113c9ce6a83e0554e73aa881a6eb94690a05a0a7.tar.xz seaweedfs-113c9ce6a83e0554e73aa881a6eb94690a05a0a7.zip | |
remove the direct_io flag, as it is not well-supported on macOS
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 0ab794bbd..365a65c6d 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -248,6 +248,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { Cipher: cipher, UidGidMapper: uidGidMapper, DisableXAttr: *option.disableXAttr, + IsMacOs: runtime.GOOS == "darwin", }) // create mount root |
