On Sun, 13 Jan 2008, Stephen R Marenka wrote:
On Sun, Jan 13, 2008 at 12:30:14PM +0100, Geert Uytterhoeven wrote:
On Sat, 12 Jan 2008, Stephen R Marenka wrote:
On Fri, Jan 11, 2008 at 11:19:03AM +0100, Andreas Schwab wrote:
Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> 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.
So if nfstderr included a console, then console=nfstderr as the last
paramter on the kernel command line would give the behavior you desire?
But having a console requires about the same number of lines of code as
the nfstderr (a console is a character/tty driver ;-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html