Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 28 Nov 2001 19:40:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 28 Nov 2001 19:40:06 -0500 Received: from www.transvirtual.com ([206.14.214.140]:64012 "EHLO www.transvirtual.com") by vger.kernel.org with ESMTP id ; Wed, 28 Nov 2001 19:39:54 -0500 Date: Wed, 28 Nov 2001 16:39:31 -0800 (PST) From: James Simmons To: Alan Cox cc: Linus Torvalds , Linux Kernel Mailing List , Linux console project Subject: Re: [PATCH] vc_tty addition In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > > the printk is currently writting to the VT console. This small patch is > > the first step toward that. Also tusing vc_tty will be needed in > > keyboard.c when it handles more than one keyboard. > > What happens when you have no tty bound to your console - and its just for > messages (eg the printer port console) ? What? What happens when you open /dev/console then? The tty layer redirects the console to some tty normally. If this is the case then I will do it the way I started out. Having the lock in struct console and sharing it with the tty layer. I was thinking about a tty_driver just for the struct console list anyways. Currently accessing /dev/console only effects the first console in the list instead of all of them. If this is true then that means /dev/consoel can exist without /dev/tty which could be a good thing. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/