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

From: Jörn Engel
Date: Wed Oct 06 2004 - 10:55:05 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/