Skip to contentSkip to conversation

update kernel-parameters.txt

PATCH Superseded jens m. noedler 2 participants 3 messages Jul 27, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 update kernel-parameters.txt

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

This is just a little documentation update which applies to 2.6.18-rc2.

Kind regards, Jens Nödler

- ---

- --- Documentation/kernel-parameters.txt.orig 2006-07-26 16:47:34.000000000 +0200
+++ Documentation/kernel-parameters.txt 2006-07-27 15:57:02.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 in 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
[email protected]
pgp: 0x9f0920bb
http://noedler.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEyM33BoFc9p8JILsRAgTOAJ45DvSeR8cHMpfznKG8qe9TdDonkQCcDjd6 7GhmbrxbldwsG4f8DoxeXP4=
=RqY3
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 5 lines · jens m. noedler

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Quoted 8 lines

This is just a little documentation update which applies to 2.6.18-rc2.

- ---

- --- Documentation/kernel-parameters.txt.orig 2006-07-26 16:47:34.000000000 +0200
+++ Documentation/kernel-parameters.txt 2006-07-27 15:57:02.000000000 +0200

Patch should apply with 'patch -p1' (i.e., filenames begin with linux/ or a/, b/ etc.)

Review be entered as an environment variable, w · line 113

Quoted 5 lines
(quoted diff) +1 -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 in not limited, but the length of the

is

Quoted 9 lines
(quoted diff) +6 -0
+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 · 1 line
~Randy
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Randy.Dunlap wrote at 07/27/2006 06:44 PM:

Quoted 2 lines

Patch should apply with 'patch -p1' (i.e., filenames begin with linux/ or a/, b/ etc.)

Thanks for the feedback, here is an updated patch.

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?

Bye, Jens

- ---

- --- linux/Documentation/kernel-parameters.txt.orig 2006-07-26 16:47:34.000000000 +0200
+++ linux/Documentation/kernel-parameters.txt 2006-07-27 23:16:00.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
[email protected]
pgp: 0x9f0920bb
http://noedler.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEyS5OBoFc9p8JILsRAnAwAKD/SlVUogI1weJaSqHmMgAkYvdCkwCfbb77 yDrZi2Zg0AWcxLW9mfh8ArU=
=cMXH
-----END PGP SIGNATURE-----