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.

better fix for option format

chrisluc3487d3da7ad
diff --git a/weed/command/fuse.go b/weed/command/fuse.go
index 1d58ffdd74..cf088022ca 100644
--- a/weed/command/fuse.go
+++ b/weed/command/fuse.go
@@ -191,7 +191,11 @@ func runFuse(cmd *Command, args []string) bool {
case "fusermount.path":
fusermountPath = parameter.value
default:
- mountOptions.extraOptions = append(mountOptions.extraOptions, fmt.Sprintf("%s=%s", parameter.name, parameter.value))
+ t := parameter.name
+ if parameter.value != "true" {
+ t = fmt.Sprintf("%s=%s", parameter.name, parameter.value)
+ }
+ mountOptions.extraOptions = append(mountOptions.extraOptions, t)
}
}