Re: question why need open /dev/console in init() when starting kernel

From: Wakko Warner
Date: Fri Jun 03 2005 - 09:20:17 EST


Richard B. Johnson wrote:
> For error messages (as well as it's the law)! Init needs a terminal.
> Init is the 'father' of all future tasks and they need a default terminal
> too.

Is it at all possible that if /dev/console does not exist that the kernel
can mknod it?

Would the code to do this be larger than 2 entries in a cpio archive (one
for /dev directory and one for /dev/console char dev)?

--
Lab tests show that use of micro$oft causes cancer in lab animals
-
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/