From owner-freebsd-questions Sun Jul 29 20:19:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web12803.mail.yahoo.com (web12803.mail.yahoo.com [216.136.174.38]) by hub.freebsd.org (Postfix) with SMTP id F376C37B401 for ; Sun, 29 Jul 2001 20:19:39 -0700 (PDT) (envelope-from zaunere@yahoo.com) Message-ID: <20010730031939.75166.qmail@web12803.mail.yahoo.com> Received: from [66.114.66.188] by web12803.mail.yahoo.com; Sun, 29 Jul 2001 20:19:39 PDT Date: Sun, 29 Jul 2001 20:19:39 -0700 (PDT) From: Hans Zaunere Subject: accessing /dev/klog and similar To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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