Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 23:55:56 +0930 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Gurpratap Virdi <gvirdi@gvirdi.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Writing to a file in the kernel
Message-ID:  <XFMail.010330235556.doconnor@gsoft.com.au>
In-Reply-To: <002d01c0b924$a07d2090$8d7d1f26@dhgfhcpps5nhe1>

next in thread | previous in thread | raw e-mail | index | archive | help

On 30-Mar-01 Gurpratap Virdi wrote:
>  The problem is that printf's scroll off the screen. How can I write to a
>  file?

If you are running syslog it will write kernel messages wherever you tell it.. 

ie...

kern.*          /var/log/mykernelmessages.txt

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum

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




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