svn commit: r185891 - head/sys/kern
John Baldwin
jhb at freebsd.org
Wed Dec 10 14:45:10 PST 2008
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
More information about the svn-src-all
mailing list