Re: [PATCH] atari aranym nfstderr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 13, 2008 at 09:42:39PM +0100, Geert Uytterhoeven wrote:
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 ;-)

Sure, but I was trying to make sure I understood what we were talking
about. 8)

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@xxxxxxxxxxx>

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux