grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to increase commandline size (patch + changelog)


From: Hollis Blanchard
Subject: Re: how to increase commandline size (patch + changelog)
Date: Mon, 09 Oct 2006 23:32:11 -0500

On Tue, 2006-10-10 at 11:08 +0800, Jeff Chua wrote:
> On Mon, 9 Oct 2006, Hollis Blanchard wrote:
> 
> >> +#include <asm/param.h>
> >
> > 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 <asm/param.h> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]