Re: [PATCH][TAKE 4] THE LINUX/I386 BOOT PROTOCOL - Breaking the 256 limit

From: John Coffman
Date: Sat May 06 2006 - 00:04:11 EST


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).



PGP KeyID: 6781C9C8 (good until 31-Dec-2008)
Keyserver at ldap://keyserver.pgp.com OR http://pgp.mit.edu
LILO links at http://freshmeat.net/projects/lilo
and Help link at http://lilo.go.dyndns.org


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/