public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] update kernel-parameters.txt
@ 2006-07-27 14:30 jens m. noedler
  2006-07-27 16:44 ` Randy.Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: jens m. noedler @ 2006-07-27 14:30 UTC (permalink / raw)
  To: linux-kernel

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



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

- ---

- --- 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
  noedler@web.de
  pgp: 0x9f0920bb
  http://noedler.de

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] update kernel-parameters.txt
  2006-07-27 14:30 [PATCH] update kernel-parameters.txt jens m. noedler
@ 2006-07-27 16:44 ` Randy.Dunlap
  2006-07-27 21:21   ` jens m. noedler
  0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2006-07-27 16:44 UTC (permalink / raw)
  To: jens m. noedler; +Cc: linux-kernel

On Thu, 27 Jul 2006, jens m. noedler wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> This is just a little documentation update which applies to 2.6.18-rc2.
>
> Signed-off-by: jens m. noedler <noedler@web.de>
>
> - ---
>
> - --- 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.)

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

> +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.

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] update kernel-parameters.txt
  2006-07-27 16:44 ` Randy.Dunlap
@ 2006-07-27 21:21   ` jens m. noedler
  0 siblings, 0 replies; 3+ messages in thread
From: jens m. noedler @ 2006-07-27 21:21 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: linux-kernel

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

Hello,

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

> 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


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

- ---

- --- 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
  noedler@web.de
  pgp: 0x9f0920bb
  http://noedler.de

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-27 21:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-27 14:30 [PATCH] update kernel-parameters.txt jens m. noedler
2006-07-27 16:44 ` Randy.Dunlap
2006-07-27 21:21   ` jens m. noedler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox