automount

package
v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL