Hello,

I'm looking to access kernel messages directly from
the kernel, and not through syslog if I can help it.

When I try to open("/dev/klog", O_RDONLY);   I get the
error "Device busy".  How can I open this file?  Or
are there any other ways of getting at this data?

When I try to open /dev/log or /var/run/log I get the
error "Operation not supported."

Basically what I want to do is "intercept" kernel
messages before they get to syslog, avoiding having to
open the disk file that syslog writes to.  Any ideas
or help on how to do this would be great.  

Thank you,

Hans
[EMAIL PROTECTED]



__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to