related to https://github.com/chrislusf/seaweedfs/issues/1094
@ -0,0 +1,10 @@
package command
import (
"github.com/seaweedfs/fuse"
)
func osSpecificMountOptions() []fuse.MountOption {
return []fuse.MountOption{}
}
@ -0,0 +1,12 @@
return []fuse.MountOption{
fuse.AllowNonEmptyMount(),
@ -1,5 +1,6 @@
// +build !linux
// +build !darwin
// +build !freebsd
@ -1,4 +1,4 @@
// +build linux darwin
// +build linux darwin freebsd
@ -107,6 +107,9 @@ func RunMount(filer, filerMountRootPath, dir, collection, replication, dataCente
fuse.WritebackCache(),
options = append(options, osSpecificMountOptions()...)
if allowOthers {
options = append(options, fuse.AllowOther())