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

From: H. Peter Anvin
Date: Wed Mar 22 2006 - 11:03:04 EST


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

... and allow /init to be overwritten.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/