Re: [PATCH] x86_64 built-in command line

H. Peter Anvin
2006-08-01T02:46:13Z

Andi Kleen wrote:
> On Tuesday 01 August 2006 04:41, Matt Mackall wrote:
>> On Mon, Jul 31, 2006 at 07:38:39PM -0700, H. Peter Anvin wrote:
>>> Actually, the best thing to do might be to designate a symbol (say &,
>>> like in automount) as "insert the boot loader command line here."
>>>
>>> That way you can specify things in the builtin command line that are
>>> both prepended and appended to the boot loader command, and if you wish,
>>> you can emit it completely.
>>>
>>> The default would be just "&".
>> That idea doesn't suck. I'll take a look at it.
>
> With %s it would be much less code to write.
>

True; it would just mean that the buildin command line would have to
double %'s, but that's not really a problem.

On the other hand, a single-character substitution loop is hardly complex.

-hpa