Date: Wed, 10 Dec 2008 17:44:00 -0500 From: John Baldwin <jhb@freebsd.org> To: Ed Schouten <ed@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r185891 - head/sys/kern Message-ID: <200812101744.00578.jhb@freebsd.org> In-Reply-To: <200812102148.mBALm5Lt044021@svn.freebsd.org> References: <200812102148.mBALm5Lt044021@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 10 December 2008 04:48:05 pm Ed Schouten wrote: > Author: ed > Date: Wed Dec 10 21:48:05 2008 > New Revision: 185891 > URL: http://svn.freebsd.org/changeset/base/185891 > > Log: > Remove added newlines from logged messages written to /dev/console. > > The /dev/console device node logs all strings that are written to it. > When the string does not contain a trailing newline, it appends one. I > can imagine this was useful a long time ago, but with our current > rc-scripts, it generates a whole bunch of messages that look like: > > | Configuring syscons: > | blanktime > | . > > By not appending the newlines, the output of `dmesg -a' is now (almost?) > exactly the same as what the user will see on the console device > (syscons, uart). I believe phk@ inserted the new-lines on purpose to prevent interleaving of messages in dmesg. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812101744.00578.jhb>