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.

avoid possible wrong arguments

Chris Lu0c856e838792
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 2dc9aa196a..550921188b 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -34,6 +34,10 @@ func runMount(cmd *Command, args []string) bool {
return false
}
+ if len(args)>0 {
+ return false
+ }
+
return RunMount(&mountOptions, os.FileMode(umask))
}