Subject: Re: consdev and /dev/console
To: Eric Haszlakiewicz <erh@nimenees.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 05/14/2003 15:49:06
On Fri, May 09, 2003 at 09:51:38PM -0500, Eric Haszlakiewicz wrote:
>
> If I type "consdev com0" at the (i386) bootblocks it causes the kernel
> to boot with the console set to the serial port. Once I've got a /dev,
> shouldn't anything written to /dev/console end up going out that serial
> port?
Yes
> It doesn't seem to work.
What, exactly, doesn't work ?
> However, /dev/tty00 works as expected.
> Also, xconsole sees stuff written to /dev/console. Is this how it's
> supposed to work? I thought I remembered it behaving differently.
Yes, this is the purpose of xconsole. Once xconsole is started, stuff
written to /dev/console won't appear on the tty any more.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
NetBSD: 24 ans d'experience feront toujours la difference
--