Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 20:03:47 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        arch@freebsd.org
Subject:   Re: A sort of plan for consoles in FreeBSD 
Message-ID:  <17734.1149012227@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 30 May 2006 13:58:14 EDT." <20060530135814.A70588@grasshopper.cs.duke.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20060530135814.A70588@grasshopper.cs.duke.edu>, Andrew Gallatin wri
tes:
>Poul-Henning Kamp [phk@phk.freebsd.dk] wrote:
>> I would like to redefine the semantics of "/dev/console" as follows:
>> 
>> 	if any console-consumers like xconsole(8) are active
>> 		send output to all console-consumers.
>> 	else if a controlling terminal is available
>> 		send output to controlling terminal (that is /dev/tty)
>> 	else
>> 		send output to syslogd, as if generated by printf(9).
>> 		(but do not actually output to low-level console)
>
>If there is nobody logged in, where do kernel messages from device
>drivers, and panic messages (with helpful things like KDB_TRACE) wind
>up?

These go to the #2 console just like the bootup messages etc.

-- 
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?17734.1149012227>