kernel error output device file
Kernel error messages are collected and made available to
error logging daemons through /dev/error.
/dev/error is a read-only character special file
which returns one error message
per read with no EOF character.
When the system is booted, the
script starts the
daemon to filter messages from /dev/error.
Two internally defined log files are written to:
Other log files that may be written to are defined
in the file /etc/syslog.conf.
Error messages are appended to the system error log file
Device initialization messages are written to the configuration log file
Any process can read /dev/error or arrange to be signaled
when errors are queued in /dev/error.
(Note that you can also use
to do this.)
The following ioctl causes the error device to signal
the process with SIGUSR1
when an error message is queued in /dev/error.
fd = open("/dev/error", O_RDONLY);
ioctl(fd, EMSG_SIG, SIGUSR1);
Before exiting, the process must return /dev/error
to its normal state.
Do this with the following ioctl:
The following error messages may be displayed on the console.
for general information about kernel error messages,
including a list of generic device driver errors.
WARNING: err: Error log buffer overflow
WARNING: err: Error log overflow
The error message driver will overwrite the oldest messages if the
log or the log buffer overflows.
Panic error messages are not logged in /dev/error.
character special file that allows
read-only access to the error driver (err)
script that starts syslogd
device initialization log file
system error log file
syslogd configuration file that defines other log files
error is not part of any currently supported standard;
it is an extension of AT&T System V provided by
The Santa Cruz Operation, Inc.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003