HomeFreeBSD

devd: autofs: Move autofs related events to a separate file

Description

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)

Details

Provenance
manuAuthored on Nov 7 2023, 10:06 AM
Reviewer
imp
Differential Revision
D42495: devd: autofs: Move autofs related events to a separate file
Parents
rG42144dc11e99: autofs: Remove stale comment
Branches
Unknown
Tags
Unknown