Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2001 20:19:39 -0700 (PDT)
From:      Hans Zaunere <zaunere@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   accessing /dev/klog and similar
Message-ID:  <20010730031939.75166.qmail@web12803.mail.yahoo.com>
In-Reply-To: <LAW2-F68LgFuoe5cizl00006154@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Any help would be great.  Thank you,

Hans
zaunere@yahoo.com



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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010730031939.75166.qmail>