> > 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/
This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:33 EST