diff options
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index 12f6931..7428717 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -318,4 +318,16 @@ notify 0 { action "/usr/local/etc/rc.d/postgresql restart"; }; +# Discard autofs caches, useful for the -media special map. The one +# second delay is for GEOM to finish tasting. +# +# XXX: We should probably have a devctl(4) event that fires after GEOM +# tasting. +# +notify 100 { + match "system" "DEVFS"; + match "cdev" "(da|mmcsd)[0-9]+"; + action "sleep 1 && /usr/sbin/automount -c"; +}; + */ |