Re: [PATCH] Console: fall back to /dev/null when no console is availlable

Jörn Engel
2004-10-06T15:52:13Z

On Wed, 6 October 2004 17:36:17 +0200, Geert Uytterhoeven wrote:
>
> OK, so you want /dev/console to fall back to /dev/null, right?

In short, yes. I want fds 0, 1 and 2 to be open for any userspace
process on startup. That's partly init's job, partly also the
kernel's job. And /dev/null is a sane fallback.

> Anyway, I should cook up a patch so the /dev/console demux walks the list if
> the one at the head of the list doesn't do input (read: it has no associated
> tty struct).

Good.

Jörn

--
A victorious army first wins and then seeks battle.
-- Sun Tzu