[PATCH] [resend] update Documentation/kernel-parameters.txt

From: jens m. noedler
Date: Mon Aug 14 2006 - 12:47:04 EST


This is just a little documentation update which applies to 2.6.18-rc4.
The patch was first send on 27. July 2006 to the LKML but nobody picked
it up, so here is the second chance. :-)

By the way: Does anybody know _why_ COMMAND_LINE_SIZE depends
on the architecture? Wouldn't it make sense to generalize it
for all platforms to e.g. 2048 characters?

Kind regards, Jens

Signed-off-by: jens m. noedler <noedler@xxxxxx>


--- linux/Documentation/kernel-parameters.txt.orig 2006-08-13 23:40:31.000000000 +0200
+++ linux/Documentation/kernel-parameters.txt 2006-08-13 23:40:55.000000000 +0200
@@ -110,6 +110,13 @@ be entered as an environment variable, w
it will appear as a kernel argument readable via /proc/cmdline by programs
running once the system is up.

+The number of kernel parameters is not limited, but the length of the
+complete command line (parameters including spaces etc.) is limited to
+a fixed number of characters. This limit depends on the architecture
+and is between 256 and 4096 characters. It is defined in the file
+./include/asm/setup.h as COMMAND_LINE_SIZE.
53c7xx= [HW,SCSI] Amiga SCSI controllers
See header of drivers/scsi/53c7xx.c.
See also Documentation/scsi/ncr53c7xx.txt.

jens m. noedler
pgp: 0x9f0920bb

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/