"David L. Parsley" <pa...@li...> writes:
> Mark Atwood wrote:
>
> > And isn't the kernel still in "initrd mode", wanting to do a
> > pivot/init instead of halting the system as soon as that "initial
> > process" dies?
>
> No, by supplying a root device of /dev/ram, the kernel assumes that the
> initrd ramdisk is the true root filesystem, and either uses the
> command-line supplied init or looks for /sbin/init. Then, using
> pivot_root, you can change the root filesystem whenever you like - but
> usually just once during boot.
Excellent. This needs to be documented somewhere better. (Well, with
mailling list archives, I guess it just was!)
>
> Let me know if you want my tftp patches. It makes about a 10k
> dynamically-linked binary, but that's not too bad.
Please.
--
Mark Atwood | I'm wearing black only until I find something darker.
mr...@po... | http://www.pobox.com/~mra
|