[syslinux] [PATCH] com32/lib/syslinux/load_linux.c: cmdline truncated
Bodo Stroesser
bstroesser at ts.fujitsu.com
Fri May 21 09:24:30 PDT 2010
On 05/21/2010 06:02 PM, H. Peter Anvin wrote:
>The kernel actually checks the command line length independently, and so
>feeding it a too-long line causes truncation. However, people on this
>list complained that silent truncation was undesirable (of course, I'm
>not sure that linux.c32 actually prints anything in that case, either.)
No, it doesn't.
>
>Some distros extended the line size unilaterally, I understand -- there
>just isn't a way for the boot loader to know.
In kernel includes of the distro we are using I found
#define COMMAND_LINE_SIZE 2048
So, for *us* my patch should be o.k., right?
>
>So there is basically the option to "shoot in the dark and hope for the
>best", or be conservative...
Oh, I see.
Just different tools from the same syslinux package using different
strategies here seems to be a bit confusing.
>
> -hpa
Thank you
Bodo
More information about the Syslinux
mailing list