Messages in this thread | | | Date | Mon, 31 Jul 2006 19:46:00 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86_64 built-in command line |
| |
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 - 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/
| |