Re: Initial Console

From: Geert Uytterhoeven
Date: Mon Oct 13 2008 - 12:02:28 EST


On Mon, 13 Oct 2008, Prabhu Chawandi wrote:
> Initial console /dev/console in the kernel is directed to /dev/ttyS0,

Depends...

> Any bosy is having info, where exavtly in which file has been done so..

drivers/char/tty_io.c, look for `TTYAUX_MAJOR, 1'.

> if not what exactly is happening to initialize console to ttyS0.

... depends on the list of available console devices, and the `console=' kernel
command line parameter.

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/