opnsense-src/sbin/devd/autofs.conf
Emmanuel Vadot 32fdac77b3 devd: autofs: Move autofs related events to a separate file
If a user don't have FreeBSD-autofs installed there is no need to try calling
automount on every GEOM event.
It's also easier to add/delete autofs related event in a separate file.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D42495
Reviewed by:	imp

(cherry picked from commit b3c116d50ecacaab5236e0488cb74c1bcf614ae7)
2024-06-04 13:37:07 +02:00

9 lines
196 B
Text

#
# autofs(5) specific devd events
# Discard autofs caches, useful for the -media special map.
notify 100 {
match "system" "GEOM";
match "subsystem" "DEV";
action "/usr/sbin/automount -c";
};