From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GXK1W-0001y9-7T for mharc-grub-devel@gnu.org; Tue, 10 Oct 2006 12:00:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GXK1T-0001vX-EG for grub-devel@gnu.org; Tue, 10 Oct 2006 12:00:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GXK1R-0001s5-3e for grub-devel@gnu.org; Tue, 10 Oct 2006 12:00:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXK1R-0001rt-1E for grub-devel@gnu.org; Tue, 10 Oct 2006 12:00:01 -0400 Received: from [194.109.24.33] (helo=smtp-vbr13.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GXK9E-0001CL-NV for grub-devel@gnu.org; Tue, 10 Oct 2006 12:08:05 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id k9AFxnfg039443; Tue, 10 Oct 2006 17:59:56 +0200 (CEST) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <1160447238.29722.4.camel@diesel> <1160454731.32244.6.camel@diesel> <87ejtg1x3n.fsf@xs4all.nl> <8764es1bib.fsf@xs4all.nl> <1160494821.1123.17.camel@basalt.austin.ibm.com> Mail-Copies-To: mgerards@xs4all.nl Date: Tue, 10 Oct 2006 18:08:12 +0200 In-Reply-To: <1160494821.1123.17.camel@basalt.austin.ibm.com> (Hollis Blanchard's message of "Tue, 10 Oct 2006 10:40:21 -0500") Message-ID: <871wpg17df.fsf@xs4all.nl> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Jeff Chua Subject: Re: how to increase commandline size (patch + changelog) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 16:00:04 -0000 Hollis Blanchard writes: > On Tue, 2006-10-10 at 16:38 +0200, Marco Gerards wrote: >> >> - Add some run-time argument to the loader to override the command >> line length. But I do not like this either because it allows >> breaking the Linux boot protocol. > > What exactly happens if we give the kernel a longer cmdline than it > supports? Does it just truncate, or fail to boot? It truncates. > Why not allow users to pass as much as they want, and just warn them if > it's >255? I am not sure what the impact is. Linux has a memory map and I assume the memory after the commandline is used for other things, or might be overwritten. -- Marco