Re: [patch] add class/tty/console/real_dev symlink

From: Geert Uytterhoeven
Date: Thu Oct 07 2004 - 13:01:29 EST


On Wed, 6 Oct 2004, Hollis Blanchard wrote:
> This patch adds a symlink from /sys/class/tty/console/real_dev to
> e.g. /sys/class/tty/ttyS0 . This is needed because there is no way for
> userspace to determine what device the kernel is using as its console, and in
> the case of an installer that is important information. Otherwise, the
> installer cannot know which serial port you're booting on, for example, and
> so wouldn't know where to display itself.

The installer can just open /dev/console?

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-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/