Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2007 19:15:51 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        arch@freebsd.org
Subject:   Re: Replacing/enhancing kernel printf() 
Message-ID:  <22166.1190488551@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 22 Sep 2007 11:41:15 MST." <FED4C690-E501-4F54-93AE-F5B75929BBA6@mac.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <FED4C690-E501-4F54-93AE-F5B75929BBA6@mac.com>, Marcel Moolenaar wri
tes:

>>> Are you referring to:
>>> http://lists.freebsd.org/mailman/htdig/freebsd-arch/2006-May/ 
>>> 005224.html
>
>Let's define "the low-level console" as nothing more than a
>switchboard.

The reason I didn't go that route, is that the "streams"
have vastly different sematics, some are even bidirectional.

At the very least you need to think carefully about all of
the four distinct phases:

	Before the kernel runs
	Kernel until /sbin/init
	/sbin/init and single user mode
	Multiuser mode.

Lumping them all together is what we have today, which we
both recognize as not the way to go.

I fully agree that printf(9) is an unholy tangle of all sorts
of messages and that it should be possible to sort them,
but that is only a small part of the console puzzle, and
fixing that should not make the current tangle any worse.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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