Re: COMMAND_LINE_SIZE increasing in 2.6.11-rc1-bk6

From: Adam Sulmicki
Date: Mon Feb 14 2005 - 01:13:38 EST


On Fri, 21 Jan 2005, Catalin(ux aka Dino) BOIE wrote:

I really suggest to push this limit to 4k. My reason is that under UML I need to put a lot of stuff in command line and uml crash if I not extend this limit. Can we make it depend on arhitecture?

another nice feature would be the kernel ignoring the any "/n" in the command line. Currently if you accdentally pass the "/n" in the command line the most weird things happen.

for examle, type, following

mkelfImage /boot/vmlinuz-2.6.11-rc2-mm1 /boot/vmlinuz-2.6.11-rc2-mm1.elf \
--command-line="console=ttyS0,19200 root=/dev/nfs nfsroot=/ ip=any
init=/usr/src/cm/files/init.kexec.sh"

and watch kernel saying that it does not get any DHCP replies, while the real problem is that there's /n before init= line.

-
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/