RE: [PATCH] handle quoted module parameters

From: yiding_wang
Date: Fri Nov 12 2004 - 17:01:05 EST

>There is *no* difference between:
>foo="111 222 333"\ 444' 555'
>foo='111 222 333 444 555'
>foo="111 222 333 444 555'

But there is a difference between foo="111 222 333" and "foo=111 222 333". The new patch is changing from former to later.


-----Original Message-----
From: Adam Heath [mailto:doogie@xxxxxxxxxx]
Sent: Friday, November 12, 2004 11:41 AM
To: yiding_wang@xxxxxxxxxxx
Cc: rddunlap@xxxxxxxx; arjan@xxxxxxxxxxxxx;
linux-kernel@xxxxxxxxxxxxxxx; rusty@xxxxxxxxxxxxxxx; akpm@xxxxxxxx
Subject: RE: [PATCH] handle quoted module parameters

On Fri, 12 Nov 2004, wrote:

> Hello Randy,
> Thanks for your two responses!
> Based on your patch, the format of argument will be changed from standard format before:
> Used to be:
> modprm1=first,ext modprm2=second,ext modprm3="third1,ext third2,ext"
> where the quotation in modprm3 represents the whole string, including space, to be the value of third parameter modprm3.
> Now the patch changes modprm3 to "modprm3=third1,ext third2,ext" which equivalent to putting quotation mark on normal parameter define "modprm1=first,ext". Do you think linux community will take that change?
> Another question is the parameter length is not limited in 2.4.x kernel. Why this is restricted under 2.6.x. (param_set_charp())?

Er, no, that's a wrong assumption.

Quoting like this is handled by the shell. It tells it how to parse the
single cmdline string, into separate parts.

There is *no* difference between:

foo="111 222 333"\ 444' 555'


foo='111 222 333 444 555'


foo="111 222 333 444 555'

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at