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

From: Arkadiusz Miskiewicz
Date: Mon Oct 11 2004 - 05:32:36 EST


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.

Creating /dev entries on rootfs from initrd without hardcoding rootfs device
is quite problematic.
--
Arkadiusz Miśkiewicz PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/ http://ftp.pld-linux.org/
-
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/