Skip to contentSkip to conversation

update Documentation/kernel-parameters.txt

PATCH RESEND New jens m. noedler 1 participant 1 message Aug 14, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 update Documentation/kernel-parameters.txt

Hi,

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

---

Documentation/kernel-parameters.txt renamed from Documentation/kernel-parameters.txt.orig +7 -0
@@ -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.
Signature · 4 lines
jens m. noedler
  [email protected]
  pgp: 0x9f0920bb
  http://noedler.de