From mint-bounce@lists.fishpool.fi Thu Jan 15 13:18:49 2009 Date: Thu, 15 Jan 2009 18:07:54 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= Subject: Re: [MiNT] Commandline handling in the kernel In-reply-to: <1232019086.1010.152.camel@jetpack.demon.co.uk> To: mint Message-id: <496F6D6A.5070304@freesbee.fr> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 8BIT References: <1232019086.1010.152.camel@jetpack.demon.co.uk> User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Alan Hourihane wrote : > I've noticed there are references to a maximum cmdline length of 128 in > the kernel sources, yet I know in bash I can pass much longer cmdlines > and things work. > > Can anyone explain things ? Hello, Alan. The standard TOS command line is 128 characters long. Because it is too few, "The ARGV protocol" has been used to increase this limit (it has been very well documented - I don't remember where). Basically, the idea is to put the command line arguments into the environment, so the command line can be virtually infinite. -- Vincent Rivière