Re: Differences between 2.2.x and 2.4.x initrd

Ben Collins (bcollins@debian.org)
Tue, 13 Nov 2001 16:34:43 -0500


On Wed, Nov 14, 2001 at 07:50:00AM +1100, Herbert Xu wrote:
> Ben Collins <bcollins@debian.org> wrote:
>
> > Well, the point being that 2.2.x worked implicitly, and 2.4.x doesn't. I
> > don't want to have to tell people who have been using tilo forever and a
> > day that they now have to add additional command line to get it to work
> > with 2.4.x.
>
> You don't have to. Just setup linuxrc to echo the right stuff into
> /proc/sys/kernel/real-root-dev

Yeah, which is listed under the "Obsolete" section in
Documentation/initrd.txt. The assumption I'm making here is that if
/linuxrc fails to execute, it falls back to /sbin/init on the currently
mounted root filesystem. Assumptions are bad, but I don't see why it
can't work like this. If there is a filesystem already mounted, it
should be used.

Ben

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/