Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/autofs/autofs.c
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | int autofs_sig_set[] = { | ||||
SIGTERM, | SIGTERM, | ||||
SIGHUP, | SIGHUP, | ||||
SIGKILL, | SIGKILL, | ||||
SIGQUIT | SIGQUIT | ||||
}; | }; | ||||
struct autofs_softc *autofs_softc; | struct autofs_softc *autofs_softc; | ||||
SYSCTL_NODE(_vfs, OID_AUTO, autofs, CTLFLAG_RD, 0, "Automounter filesystem"); | SYSCTL_NODE(_vfs, OID_AUTO, autofs, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"Automounter filesystem"); | |||||
int autofs_debug = 1; | int autofs_debug = 1; | ||||
TUNABLE_INT("vfs.autofs.debug", &autofs_debug); | TUNABLE_INT("vfs.autofs.debug", &autofs_debug); | ||||
SYSCTL_INT(_vfs_autofs, OID_AUTO, debug, CTLFLAG_RWTUN, | SYSCTL_INT(_vfs_autofs, OID_AUTO, debug, CTLFLAG_RWTUN, | ||||
&autofs_debug, 1, "Enable debug messages"); | &autofs_debug, 1, "Enable debug messages"); | ||||
int autofs_mount_on_stat = 0; | int autofs_mount_on_stat = 0; | ||||
TUNABLE_INT("vfs.autofs.mount_on_stat", &autofs_mount_on_stat); | TUNABLE_INT("vfs.autofs.mount_on_stat", &autofs_mount_on_stat); | ||||
SYSCTL_INT(_vfs_autofs, OID_AUTO, mount_on_stat, CTLFLAG_RWTUN, | SYSCTL_INT(_vfs_autofs, OID_AUTO, mount_on_stat, CTLFLAG_RWTUN, | ||||
&autofs_mount_on_stat, 0, "Trigger mount on stat(2) on mountpoint"); | &autofs_mount_on_stat, 0, "Trigger mount on stat(2) on mountpoint"); | ||||
▲ Show 20 Lines • Show All 575 Lines • Show Last 20 Lines |