Re: udev: what's up with old /dev ?

From: Felipe Alfaro Solana
Date: Mon Oct 11 2004 - 07:06:10 EST


On Oct 11, 2004, at 12:29, Arkadiusz Miskiewicz wrote:

On Monday 11 of October 2004 11:14, Felipe Alfaro Solana wrote:
On Oct 11, 2004, at 01:15, Hacksaw wrote:
The very first thing init does is open /dev/console, and if it doesn't
exist the entire boot hangs.

This raises a question: Would it be a useful thing to make a modified
init
that could run udev before it does anything else?

FC3t2 boots from an "initrd" image that, among other things, mounts a
tmpfs over "/dev" and creates "console", "null", "pts" and then
proceeds to load "init".
... and it ignores root= kernel cmdline option. rootfs is hardcoded in initrd
which is very ugly.

I haven't seen any hardcoded root filesystem reference in the INITRD image. Instead, I see "/dev/root" which is supposed to be exactly the root filesystem passed to the kernel via "root=".

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