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.

skip other OS

chrislu05724a68d4c5
diff --git a/weed/command/mount2_notsupported.go b/weed/command/mount2_notsupported.go
new file mode 100644
index 0000000000..18734035e3
--- /dev/null
+++ b/weed/command/mount2_notsupported.go
@@ -0,0 +1,15 @@
+//go:build !linux && !darwin && !freebsd
+// +build !linux,!darwin,!freebsd
+
+package command
+
+import (
+ "fmt"
+ "runtime"
+)
+
+func runMount2(cmd *Command, args []string) bool {
+ fmt.Printf("Mount is not supported on %s %s\n", runtime.GOOS, runtime.GOARCH)
+
+ return true
+}