renweijun
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/command/mount_std.go
|
@ -182,7 +182,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { |
|
|
DirectMount: true, |
|
|
DirectMount: true, |
|
|
DirectMountFlags: 0, |
|
|
DirectMountFlags: 0, |
|
|
//SyncRead: false, // set to false to enable the FUSE_CAP_ASYNC_READ capability
|
|
|
//SyncRead: false, // set to false to enable the FUSE_CAP_ASYNC_READ capability
|
|
|
//EnableAcl: true,
|
|
|
|
|
|
|
|
|
EnableAcl: true, |
|
|
} |
|
|
} |
|
|
if *option.nonempty { |
|
|
if *option.nonempty { |
|
|
fuseMountOptions.Options = append(fuseMountOptions.Options, "nonempty") |
|
|
fuseMountOptions.Options = append(fuseMountOptions.Options, "nonempty") |
|
|