From owner-freebsd-arch@FreeBSD.ORG Tue May 30 18:03:55 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3F0416A55E for ; Tue, 30 May 2006 18:03:55 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from pasmtp.tele.dk (pasmtp.tele.dk [193.162.159.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AA0A43D48 for ; Tue, 30 May 2006 18:03:55 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x535c0e2a.sgnxx1.adsl-dhcp.tele.dk [83.92.14.42]) by pasmtp.tele.dk (Postfix) with ESMTP id 5103F1ECC9C for ; Tue, 30 May 2006 20:03:54 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4UI3lN6017735; Tue, 30 May 2006 20:03:48 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Andrew Gallatin From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 30 May 2006 13:58:14 EDT." <20060530135814.A70588@grasshopper.cs.duke.edu> Date: Tue, 30 May 2006 20:03:47 +0200 Message-ID: <17734.1149012227@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: arch@freebsd.org Subject: Re: A sort of plan for consoles in FreeBSD X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 18:03:57 -0000 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.