From owner-freebsd-hackers Fri Mar 30 15:39:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from one.net (ip-216-23-52-218.adsl.one.net [216.23.52.218]) by hub.freebsd.org (Postfix) with ESMTP id 5D84637B71B for ; Fri, 30 Mar 2001 15:39:18 -0800 (PST) (envelope-from cokane@one.net) Received: (from cokane@localhost) by one.net (8.11.3/8.11.3) id f2UNs4p37449; Fri, 30 Mar 2001 18:54:04 -0500 (EST) (envelope-from cokane) Date: Fri, 30 Mar 2001 18:54:04 -0500 From: Coleman Kane To: Drew Eckhardt Cc: Gurpratap Virdi , "Daniel O'Connor" , hackers@FreeBSD.ORG Subject: Re: Writing to a file in the kernel Message-ID: <20010330185404.C37201@cokane.yi.org> References: <002d01c0b924$a07d2090$8d7d1f26@dhgfhcpps5nhe1> <200103301714.f2UHEmO25798@chopper.Poohsticks.ORG> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="xgyAXRrhYN0wYx8y" X-Mailer: Mutt 1.0.1i In-Reply-To: <200103301714.f2UHEmO25798@chopper.Poohsticks.ORG>; from drew@PoohSticks.ORG on Fri, Mar 30, 2001 at 10:14:48AM -0700 X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --xgyAXRrhYN0wYx8y Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Yeah. And you can prefix the messages with DEBUG: or some shit and use grep to parse them out. Drew Eckhardt had the audacity to say: >=20 > In message <002d01c0b924$a07d2090$8d7d1f26@dhgfhcpps5nhe1>, gvirdi@gvirdi= .com w > rites: > >The problem is that printf's scroll off the screen. How can I write to a > >file? >=20 > syslogd(8)/syslog.conf(5). >=20 > Also note that by default, on must unices the stock /etc/syslog.conf send= s=20 > kernel messages to /var/log/messages (along with everything else). >=20 > YMMV. >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message >=20 --xgyAXRrhYN0wYx8y Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6xRybERViMObJ880RAY1VAJ9DzwQSaeRIglNSZ6j78KDqoiKwpgCgmw72 i3K5Jfudl0EZ/1K7LlmIJm4= =jKwH -----END PGP SIGNATURE----- --xgyAXRrhYN0wYx8y-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message