Hi David,

> (2) with a 2.6 you can embed your whole file system into the
> kernel and boot and go just from the kernel -- no file system at all --
> that way you don't have to pivot-root from the initrd -- just stay there.
>
That's not correct. Indeed you can make a choice to include the initramfs
(not initrd) into the kernel, but it has no technical advantage besides
having only a kernel instead of a kernel and an initramfs.cpio. The reason
to have both options has to do with GPL and including non-GPLed modules.
Besides it's easier to have a seperate kernel and initramfs if you want to
support multiple boot devices and also keep size down.
In both cases you have to do a switch_root (not pivot_root which was the
case with kernel 2.4) to free the initramfs and start init.

So you always have a file system, ramfs, even if you embed the whole
system in the kernel and you have to do a switch_root to give init the
control and do some other housekeeping.

Eric


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to