From owner-freebsd-arch@FreeBSD.ORG Sun May 28 05:20:37 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 A60F416BB76 for ; Sun, 28 May 2006 05:12:42 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outboundD.internet-mail-service.net (outboundD.internet-mail-service.net [216.240.47.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66A4743D46 for ; Sun, 28 May 2006 05:12:42 +0000 (GMT) (envelope-from julian@elischer.org) Received: from idiom.com (idiom.com [216.240.32.1]) by outbound.internet-mail-service.net (Postfix) with ESMTP id 9F9F62E07BF; Sat, 27 May 2006 22:12:41 -0700 (PDT) Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (8.12.11/8.12.11) with ESMTP id k4S5Cedo043305; Sat, 27 May 2006 22:12:41 -0700 (PDT) (envelope-from julian@elischer.org) Message-ID: <44793146.6070200@elischer.org> Date: Sat, 27 May 2006 22:12:38 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051120 X-Accept-Language: en, hu MIME-Version: 1.0 To: Poul-Henning Kamp References: <16029.1148764704@critter.freebsd.dk> In-Reply-To: <16029.1148764704@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 28 May 2006 05:20:38 -0000 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.