On Tue, Mar 13, 2007 at 12:12:20AM +0100, Pavel Machek wrote:
> > 65535 characters? Are you for real?
> > Stop and think about just how big that is. If you have to create
> > a boot command line that long, you have serious, serious issues.
>
> Well, it is about the same size as my .config...
Hi!
> > > > +cmdline_size: .long COMMAND_LINE_SIZE-1 #length of the
> command line,
> > >
> > > Why a long? It's unlikely that someone is going to have a command line
> > > bigger than 0x.
> >
> > Well, I could imagine overflowing that. Describing your numa setup,
> > exclud
On Mon, Mar 12, 2007 at 10:43:52AM +, Pavel Machek wrote:
> On Tue 2007-03-06 13:21:34, Dave Jones wrote:
> > On Tue, Mar 06, 2007 at 07:14:30PM +0100, Bernhard Walle wrote:
> >
> > > +cmdline_size: .long COMMAND_LINE_SIZE-1 #length of the command
> > line,
> >
> > Why a long
On Tue 2007-03-06 13:21:34, Dave Jones wrote:
> On Tue, Mar 06, 2007 at 07:14:30PM +0100, Bernhard Walle wrote:
>
> > +cmdline_size: .long COMMAND_LINE_SIZE-1 #length of the command
> line,
>
> Why a long? It's unlikely that someone is going to have a command line
> bigger than 0x.
On Tue, Mar 06, 2007 at 07:14:30PM +0100, Bernhard Walle wrote:
> Because the command line is increased to 2048 characters after 2.6.21,
> it's not possible for boot loaders and userspace tools to determine the length
> of the command line the kernel can understand. The benefit of knowing the
> len
On 3/6/07, Bernhard Walle <[EMAIL PROTECTED]> wrote:
+The kernel command line is a null-terminated string. The maximum
+length can be retrieved from the field cmdline_size. Before protocol
+version 2.06, the maximum was 255 characters. A string that is too
+long will be automatically truncated
On Tue, Mar 06, 2007 at 07:14:30PM +0100, Bernhard Walle wrote:
> +cmdline_size: .long COMMAND_LINE_SIZE-1 #length of the command line,
Why a long? It's unlikely that someone is going to have a command line
bigger than 0x.
Dave
--
http://www.codemonkey.org.uk
-
To unsubscr
Because the command line is increased to 2048 characters after 2.6.21,
it's not possible for boot loaders and userspace tools to determine the length
of the command line the kernel can understand. The benefit of knowing the
length is that users can be warned if the command line size is too long whi
[Difference to previous attempt: cmdline_size is now without terminating
zero, requested by H. Peter Anvin.]
Because the command line is increased to 2048 characters after 2.6.20-rc6-mm1,
it's not possible for boot loaders and userspace tools to determine the length
of the command line the kernel
Because the command line is increased to 2048 characters after 2.6.20-rc6-mm1,
it's not possible for boot loaders and userspace tools to determine the length
of the command line the kernel can understand. The benefit of knowing that
length is that users can be warned if the command line size is too
10 matches
Mail list logo