Documentation ¶ Index ¶ func Init(o *Opts) error func IsAutofs(path string) (bool, error) func RunBlocking() error type Opts Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init(o *Opts) error func IsAutofs ¶ func IsAutofs(path string) (bool, error) func RunBlocking ¶ func RunBlocking() error Generates /etc/autofs.conf and /etc/auto.master, runs the automount daemon and blocks until it exits. Types ¶ type Opts ¶ type Opts struct { // Number of seconds of idle time after which an autofs-managed EOSxd // mount will be unmounted. Zero means never unmount. UnmountTimeoutSeconds int } Source Files ¶ View all Source files automount.go Click to show internal directories. Click to hide internal directories.