Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261410AbVBLOxy (ORCPT ); Sat, 12 Feb 2005 09:53:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261411AbVBLOxx (ORCPT ); Sat, 12 Feb 2005 09:53:53 -0500 Received: from almesberger.net ([63.105.73.238]:45835 "EHLO host.almesberger.net") by vger.kernel.org with ESMTP id S261410AbVBLOx0 (ORCPT ); Sat, 12 Feb 2005 09:53:26 -0500 Date: Sat, 12 Feb 2005 11:51:06 -0300 From: Werner Almesberger To: "Eric W. Biederman" Cc: Andi Kleen , "Catalin(ux aka Dino) BOIE" , Adrian Bunk , Janos Farkas , linux-kernel@vger.kernel.org, Chris Bruner , Andrew Morton , Linus Torvalds , Matt Domsch Subject: Re: COMMAND_LINE_SIZE increasing in 2.6.11-rc1-bk6 Message-ID: <20050212115106.A1257@almesberger.net> References: <20050119231322.GA2287@lk8rp.mail.xeon.eu.org> <20050120162807.GA3174@stusta.de> <20050120164829.GG450@wotan.suse.de> <20050121071144.GB657@wotan.suse.de> <20050207035707.C25338@almesberger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from ebiederm@xmission.com on Sat, Feb 12, 2005 at 06:54:00AM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1383 Lines: 34 Eric W. Biederman wrote: > Actually this is trivial to do by using a file in initramfs. > If we need something in a well defined format anyway. Yes, constructing an additional initramfs, or modifying an existing one to hold such data is certainly a possibility. I think there are mainly three choices: 1) the command line 2) an initramfs 3) some other, yet to be defined data structure 1) is relatively easy to do, but leads to more little parsers and doesn't scale too well. 2) scales well but has a relatively high overhead (constructing/scanning a cpio archive, etc., particularly for items needed early in the boot process), and does not work too well for discontiguous data structures. 3) is of course what we should try to avoid :-) So far, I also think that using an initramfs, or at least something that looks like one, even if not normally used as such, is the thing to try first. - Werner -- _________________________________________________________________________ / Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net / /_http://www.almesberger.net/____________________________________________/ - 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/