[klibc] Re: [PATCH] initramfs: CPIO unpacking fix

H. Peter Anvin hpa at zytor.com
Wed Mar 22 08:05:14 PST 2006

Jeff Garzik wrote:
> For the kernel, I would regard that as needless code...  Coding for a 
> chain of CPIO archives overwriting each other seems like overengineering.

No, it's actually significant.  The ability to compose initramfs 
contents from multiple sources is one of the major improvements over initrd.

For example, people has asked that kinit should be able to be called 
from user-provided (initrd-loaded) initramfs code.  The easiest way to 
do that is to have the in-kernel module have:

	/init -> /kinit

... and allow /init to be overwritten.


More information about the klibc mailing list