H. Peter Anvin wrote: > John Coffman wrote: >> At 02:57 PM Friday 5/5/2006, H. Peter Anvin wrote: >> Okay, let me ask this: >> >>> If the *kernel* limit is modified, but the LILO limit is not, what >>> will happen? This is the real crux of the matter. >> >> The length of the kernel command line will be limited by the size of >> the boot loader buffer. LILO always inserts a NUL terminator. >> >> --John >> >> P.S. The LILO command line buffer has always been 1 sector (512 >> bytes); however, only the first half is actually used for the command >> line. No kernel can do any harm by setting "boot_cmdline[511] = 0;" >> for any version of LILO back to version 20 (and probably before). >> > > Okay... **DOES ANYONE HAVE ANY ACTUAL EVIDENCE TO THE CONTRARY???**, and > if so, **WHAT ARE THE DETAILS**? > > All I've heard so far is hearsay. "X said that Y had said..." > > -hpa > > So here is an updated patch. Notice that I've removed the redundant COMMAND_LINE_SIZE from param.h of i386 to make it closer to other architectures. It was required in the past to allow a boot loader to know the COMMAND_LINE_SIZE, but LILO, GRUB, syslinux have a local definition for this, and is not required in boot protocol >= 2.02 since a boot loader can pass any null terminated string. Best Regards, Alon Bar-Lev.