mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Use newly added GEOM notifications to discard autofs caches.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
01de1a0650
commit
c576557009
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277171
@ -318,16 +318,11 @@ 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.
|
||||
#
|
||||
# Discard autofs caches, useful for the -media special map.
|
||||
notify 100 {
|
||||
match "system" "DEVFS";
|
||||
match "cdev" "(da|mmcsd)[0-9]+";
|
||||
action "sleep 1 && /usr/sbin/automount -c";
|
||||
match "system" "GEOM";
|
||||
match "subsystem" "DEV";
|
||||
action "/usr/sbin/automount -c";
|
||||
};
|
||||
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user