A sort of plan for consoles in FreeBSD
Julian Elischer
julian at elischer.org
Sat May 27 22:20:38 PDT 2006
Poul-Henning Kamp wrote:
> We have four concepts of "console" in FreeBSD:
>
> 1. Whatever boot0/boot1/boot2/loader uses
> Accessed from/via native boot/firmware environment
#1 is sort of independent as it stops being used at the moment FreeBSd starts.
>
> 2. The boot/DDB/printf(9)/panic(9) console ("The low-level console").
> Polled operation since interrupts may not be working.
I always want this to be set to be the same device as #1.
(with dcons that is already not possible)
>
> 3. The tty which /sbin/init uses for single-user and /etc/rc
> Can be any tty, but convention has been "/dev/console"
I would want this to be the same device as #2
>
> 4. The /dev/console device in multi-user mode.
> Emergency output device for critical messages.
>
but, emergency messages from where? You've coverred the ones I care about above.
My main concern is that when I have a single serial console,
All these things are captured on the session logger that is monitoring it.
As long as that can happen I'm not too worried about how that happens.
More information about the freebsd-arch
mailing list