Deleted Added
full compact
devd.conf (166754) devd.conf (168495)
1# $FreeBSD: head/etc/devd.conf 166754 2007-02-15 16:38:10Z imp $
1# $FreeBSD: head/etc/devd.conf 168495 2007-04-08 15:56:49Z pjd $
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

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

203# very soon.
204notify 10 {
205 match "system" "ACPI";
206 match "subsystem" "Thermal";
207 match "notify" "0xcc";
208 action "logger -p kern.emerg 'WARNING: system temperature too high, shutting down soon!'";
209};
210
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

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

203# very soon.
204notify 10 {
205 match "system" "ACPI";
206 match "subsystem" "Thermal";
207 match "notify" "0xcc";
208 action "logger -p kern.emerg 'WARNING: system temperature too high, shutting down soon!'";
209};
210
211# Sample ZFS problem reports handling.
212notify 10 {
213 match "system" "ZFS";
214 match "type" "zpool";
215 action "logger -p kern.err 'ZFS: failed to load zpool $pool'";
216};
217
218notify 10 {
219 match "system" "ZFS";
220 match "type" "vdev";
221 action "logger -p kern.err 'ZFS: vdev failure, zpool=$pool'";
222};
223
224notify 10 {
225 match "system" "ZFS";
226 match "type" "data";
227 action "logger -p kern.warn 'ZFS: zpool I/O failure, zpool=$pool error=$zio_err'";
228};
229
230notify 10 {
231 match "system" "ZFS";
232 match "type" "io";
233 action "logger -p kern.warn 'ZFS: vdev I/O failure, zpool=$pool path=$vdev_path offset=$zio_offset size=$zio_size error=$zio_err'";
234};
235
236notify 10 {
237 match "system" "ZFS";
238 match "type" "checksum";
239 action "logger -p kern.warn 'ZFS: checksum mismatch, zpool=$pool path=$vdev_path offset=$zio_offset size=$zio_size'";
240};
241
211/* EXAMPLES TO END OF FILE
212
213# The following might be an example of something that a vendor might
214# install if you were to add their device. This might reside in
215# /usr/local/etc/devd/deqna.conf. A deqna is, in this hypothetical
216# example, a pccard ethernet-like device. Students of history may
217# know other devices by this name, and will get the in-jokes in this
218# entry.

--- 42 unchanged lines hidden ---
242/* EXAMPLES TO END OF FILE
243
244# The following might be an example of something that a vendor might
245# install if you were to add their device. This might reside in
246# /usr/local/etc/devd/deqna.conf. A deqna is, in this hypothetical
247# example, a pccard ethernet-like device. Students of history may
248# know other devices by this name, and will get the in-jokes in this
249# entry.

--- 42 unchanged lines hidden ---