Re: [PATCH] 5 year old bug in main.c (initrd). Can this please be fixed?

From: Richard Zidlicky (Richard.Zidlicky@stud.informatik.uni-erlangen.de)
Date: Thu May 25 2000 - 13:56:14 EST


On Tue, May 23, 2000 at 01:01:06AM -0400, Dave Cinege wrote:
> This has been around as long as I can remember and I'm getting sick
> of fixing it by hand.
>
> During initrd if root=/dev/ram0, /linuxrc will not be executed.
> This is just plain wrong.

this is correct and a few distributions (eg m68k) rely on that
behaviour for installation or repair ramdisks.
If you specify 'root=xxx' than xxx is real root that is supposed to have
a real init and all that stuff. If that happens to be your initial ramdisk
than there is no need to run linuxrc.

Why would you specify 'root=/dev/ram' if you want linuxrc to change it
anyway? Either don't use 'root=' or set it to the value its supposed to
have after linuxrc exits which won't be /dev/ram in normal circumstances.

Bye
Richard

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:14 EST