Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix building for windows freebsd

chrislue8420aaed73a
diff --git a/weed/command/mount2_notsupported.go b/weed/command/mount2_notsupported.go
index 18734035e3..075b734367 100644
--- a/weed/command/mount2_notsupported.go
+++ b/weed/command/mount2_notsupported.go
@@ -1,5 +1,5 @@
-//go:build !linux && !darwin && !freebsd
-// +build !linux,!darwin,!freebsd
+//go:build !linux && !darwin
+// +build !linux,!darwin
package command
diff --git a/weed/command/mount2_std.go b/weed/command/mount2_std.go
index 97cbcfd361..89935e684b 100644
--- a/weed/command/mount2_std.go
+++ b/weed/command/mount2_std.go
@@ -1,3 +1,6 @@
+//go:build linux || darwin
+// +build linux darwin
+
package command
import (