mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
664 B
36 lines
664 B
8 years ago
|
package fuse
|
||
|
|
||
|
func localVolume(conf *mountConfig) error {
|
||
|
conf.options["local"] = ""
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func volumeName(name string) MountOption {
|
||
|
return func(conf *mountConfig) error {
|
||
|
conf.options["volname"] = name
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func daemonTimeout(name string) MountOption {
|
||
|
return func(conf *mountConfig) error {
|
||
|
conf.options["daemon_timeout"] = name
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func noAppleXattr(conf *mountConfig) error {
|
||
|
conf.options["noapplexattr"] = ""
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func noAppleDouble(conf *mountConfig) error {
|
||
|
conf.options["noappledouble"] = ""
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func exclCreate(conf *mountConfig) error {
|
||
|
conf.options["excl_create"] = ""
|
||
|
return nil
|
||
|
}
|