aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_notsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/mount_notsupported.go')
-rw-r--r--weed/command/mount_notsupported.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/weed/command/mount_notsupported.go b/weed/command/mount_notsupported.go
new file mode 100644
index 000000000..894c8e313
--- /dev/null
+++ b/weed/command/mount_notsupported.go
@@ -0,0 +1,15 @@
+//go:build !linux && !darwin
+// +build !linux,!darwin
+
+package command
+
+import (
+ "fmt"
+ "runtime"
+)
+
+func runMount(cmd *Command, args []string) bool {
+ fmt.Printf("Mount is not supported on %s %s\n", runtime.GOOS, runtime.GOARCH)
+
+ return true
+}