Re: Atari bootstrap
On Wed, 4 Aug 2004, Petr Stehlik wrote:
> V St, 04. 08. 2004 v 16:15, Andreas Schwab píše:
> > > What does it mean when the /dev/console cannot be open?
> >
> > The message is printed in init/main.c:init(), just before /sbin/init is
> > executed, and means that fds 0/1/2 remain closed.
>
> I can see the open("/dev/console") in init() but I am wondering what
> opening /dev/console represents internally. Is this going down to IKBD
> (keyboard) and VIDEL (graphics) routines where it checks the state of
> the keyboard, graphics card and monitor, for example?
It's the character device that handles the console, i.e. the driver behind
/dev/tty0 (for `normal' systems) or /dev/ttySx (for serial console).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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
Reply to: