mount: add readOnly option

fix https://github.com/chrislusf/seaweedfs/issues/1961
This commit is contained in:
Chris Lu
2021-04-04 21:40:58 -07:00
parent 6eee200c13
commit 0f64f5b9c8
8 changed files with 61 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ type Option struct {
DataCenter string
EntryCacheTtl time.Duration
Umask os.FileMode
ReadOnly bool
MountUid uint32
MountGid uint32