Deleted Added
full compact
devd.conf (272693) devd.conf (283223)
1# $FreeBSD: stable/10/etc/devd.conf 272693 2014-10-07 13:30:15Z avg $
1# $FreeBSD: stable/10/etc/devd.conf 283223 2015-05-21 13:08:30Z trasz $
2#
3# Refer to devd.conf(5) and devd(8) man pages for the details on how to
4# run and configure devd.
5#
6
7# NB: All regular expressions have an implicit ^$ around them.
8# NB: device-name is shorthand for 'match device-name'
9

--- 303 unchanged lines hidden (view full) ---

313# This example works around a memory leak in PostgreSQL, restarting
314# it when the "user:pgsql:swap:devctl=1G" rctl(8) rule gets triggered.
315notify 0 {
316 match "system" "RCTL";
317 match "rule" "user:70:swap:.*";
318 action "/usr/local/etc/rc.d/postgresql restart";
319};
320
2#
3# Refer to devd.conf(5) and devd(8) man pages for the details on how to
4# run and configure devd.
5#
6
7# NB: All regular expressions have an implicit ^$ around them.
8# NB: device-name is shorthand for 'match device-name'
9

--- 303 unchanged lines hidden (view full) ---

313# This example works around a memory leak in PostgreSQL, restarting
314# it when the "user:pgsql:swap:devctl=1G" rctl(8) rule gets triggered.
315notify 0 {
316 match "system" "RCTL";
317 match "rule" "user:70:swap:.*";
318 action "/usr/local/etc/rc.d/postgresql restart";
319};
320
321# Discard autofs caches, useful for the -media special map. The one
322# second delay is for GEOM to finish tasting.
323#
324# XXX: We should probably have a devctl(4) event that fires after GEOM
325# tasting.
326#
327notify 100 {
328 match "system" "DEVFS";
329 match "cdev" "(da|mmcsd)[0-9]+";
330 action "sleep 1 && /usr/sbin/automount -c";
331};
332
321*/
333*/