On Sat, 12 Jan 2008, Stephen R Marenka wrote:
> On Fri, Jan 11, 2008 at 11:19:03AM +0100, Andreas Schwab wrote:
> > Geert Uytterhoeven <[EMAIL PROTECTED]> writes:
> > 
> > > BTW, I find it a pity you cannot simply do `echo XXX > /dev/console'
> > > instead...
> > 
> > Adding console support should be as easy as throwing a register_console
> > into the init_module function.
> 
> natfeat does a register_console if you have debug on the kernel command
> line. It doesn't seem to echo things sent to /dev/console, although the
> aranym console does.

Printk() output appears on all registered and enabled (through console=
or debug) consoles.

/dev/console output appears on the last enabled console only.

E.g. for `console=ttyS0 console=tty0', printk() output appears on both,
while /dev/console == /dev/tty0.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to