Re: [Q] pivot_root and initrd

Richard B. Johnson (root@chaos.analogic.com)
Tue, 23 Oct 2001 17:05:13 -0400 (EDT)


On Tue, 23 Oct 2001, H. Peter Anvin wrote:

> Richard B. Johnson wrote:
>
> > On Tue, 23 Oct 2001, Werner Almesberger wrote:
> >
> >
> >>H. Peter Anvin wrote:
> >>
> >>>The right thing is to get rid of the old initrd compatibility cruft,
> >>>but that's a 2.5 change.
> >>>
> >>Yes, change_root is obsolete (and relies on assumptions that are no
> >>longer valid in several cases), and there has been plenty of time for
> >>distributors to switch. An early funeral in 2.5 is a good idea.
> >>
> >
> > Hmm. I need to install a SCSI driver, presumably from initrd
> > RAM disk as currently works. Will the new pivot-root be transparent?
> >
>
>
> It's not transparent, you need to change your initrd.
>
> -hpa

Presently, when /initrd/{ash.static} runs off the end of the
/initrd/linuxrc script, the kernel tries to mount the root
defined for LILO. So I add some program that executes 'pivot-root'
instead of just letting the script run off the end?

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

I was going to compile a list of innovations that could be
attributed to Microsoft. Once I realized that Ctrl-Alt-Del
was handled in the BIOS, I found that there aren't any.

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