Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750781AbWCVQFy (ORCPT ); Wed, 22 Mar 2006 11:05:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750835AbWCVQFy (ORCPT ); Wed, 22 Mar 2006 11:05:54 -0500 Received: from terminus.zytor.com ([192.83.249.54]:19912 "EHLO terminus.zytor.com") by vger.kernel.org with ESMTP id S1750781AbWCVQFx (ORCPT ); Wed, 22 Mar 2006 11:05:53 -0500 Message-ID: <442175BA.6000207@zytor.com> Date: Wed, 22 Mar 2006 08:05:14 -0800 From: "H. Peter Anvin" User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Garzik CC: Michael Neuling , klibc@zytor.com, Linux Kernel Mailing List , miltonm@bga.com, Al Viro Subject: Re: [klibc] Re: [PATCH] initramfs: CPIO unpacking fix References: <20060216183745.50cc2bf6.mikey@neuling.org> <20060217160621.99b0ffd4.mikey@neuling.org> <20060322061220.8414067A70@ozlabs.org> <4420F93C.1050705@garzik.org> In-Reply-To: <4420F93C.1050705@garzik.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 824 Lines: 24 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/