aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-09-04 02:25:07 -0700
committerchrislu <chris.lu@gmail.com>2024-09-04 02:25:07 -0700
commiteb02946c977be57a0325d9ed86847699e99661c1 (patch)
tree2111c09d45e608fa0ef2a1fa3ff0e2f3f3392183 /weed/mount/weedfs.go
parent18afdb15b6df2835ca600d566997fa7410e1ec9b (diff)
downloadseaweedfs-eb02946c977be57a0325d9ed86847699e99661c1.tar.xz
seaweedfs-eb02946c977be57a0325d9ed86847699e99661c1.zip
support write once read many
fix https://github.com/seaweedfs/seaweedfs/issues/5954
Diffstat (limited to 'weed/mount/weedfs.go')
-rw-r--r--weed/mount/weedfs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.go
index a9fbd9380..3ad938699 100644
--- a/weed/mount/weedfs.go
+++ b/weed/mount/weedfs.go
@@ -46,6 +46,8 @@ type Option struct {
Quota int64
DisableXAttr bool
+ WriteOnceReadMany bool
+
MountUid uint32
MountGid uint32
MountMode os.FileMode