Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GX9Hu-0007Cc-LE for mharc-grub-devel@gnu.org; Tue, 10 Oct 2006 00:32:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GX9Ht-0007CA-90 for grub-devel@gnu.org; Tue, 10 Oct 2006 00:32:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GX9Hq-0007Br-ID for grub-devel@gnu.org; Tue, 10 Oct 2006 00:32:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GX9Hq-0007Bo-Da for grub-devel@gnu.org; Tue, 10 Oct 2006 00:32:14 -0400 Received: from [207.69.195.66] (helo=pop-canoe.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GX9PX-0001mJ-4D for grub-devel@gnu.org; Tue, 10 Oct 2006 00:40:11 -0400 Received: from user-0vvdf2d.cable.mindspring.com ([63.246.188.77] helo=diesel.unsanctioned.org) by pop-canoe.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1GX9Ho-0005Zs-00; Tue, 10 Oct 2006 00:32:12 -0400 From: Hollis Blanchard To: The development of GRUB 2 In-Reply-To: References: <1160447238.29722.4.camel@diesel> Content-Type: text/plain Date: Mon, 09 Oct 2006 23:32:11 -0500 Message-Id: <1160454731.32244.6.camel@diesel> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 (2.6.3-1.fc5.5) Content-Transfer-Encoding: 7bit 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 04:32:17 -0000 On Tue, 2006-10-10 at 11:08 +0800, Jeff Chua wrote: > On Mon, 9 Oct 2006, Hollis Blanchard wrote: > > >> +#include > > > > I don't think this is a good idea because it requires we build on a > > Linux host. > > Shall I use '#ifdef __linux__' to include only on linux, and > '#define COMMAND_LINE_SIZE 255' for non-linux system? Well, does this number change often? If not, let's just copy it. If so, then we're screwed anyways because asm/param.h would only match the installed kernel's limit, so may not work for other kernel versions. In that case, let's just copy it and shrink it in a "lowest common denominator" approach. -Hollis