2016-10-31 16:50:02 +01:00
|
|
|
package fuse
|
|
|
|
|
|
|
|
func localVolume(conf *mountConfig) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func volumeName(name string) MountOption {
|
|
|
|
return dummyOption
|
|
|
|
}
|
|
|
|
|
|
|
|
func daemonTimeout(name string) MountOption {
|
|
|
|
return dummyOption
|
|
|
|
}
|
|
|
|
|
|
|
|
func noAppleXattr(conf *mountConfig) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func noAppleDouble(conf *mountConfig) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func exclCreate(conf *mountConfig) error {
|
|
|
|
return nil
|
|
|
|
}
|
2019-12-28 14:32:48 +01:00
|
|
|
|
|
|
|
func noBrowse(conf *mountConfig) error {
|
|
|
|
return nil
|
|
|
|
}
|
2020-02-10 05:57:22 +01:00
|
|
|
|
|
|
|
func maxPages(count uint16) MountOption {
|
|
|
|
return func(conf *mountConfig) error {
|
|
|
|
if count > 256 || count == 0 {
|
|
|
|
count = 256
|
|
|
|
}
|
|
|
|
conf.maxPages = count
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|