🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #1186

Re: Arg list too long

#1186
From: Jan Christiaan van Winkel
Date: Tue, 15 Feb 1994 09:33
27 lines
2288 bytes
In <1994Feb14.181931.12695@beaver.cs.washington.edu> drupp@cs.washington.edu (Douglas Rupp) writes:

>I installed bash (Bourne Again SHell) on my ODT 3.0 (Sco Unix 3.2v4.2) system
>on the suggestion that it would get rid of my "arg list too long" errors
>when doing simple commands like ls, mv, cp, rm, etc.  However it didn't.
>Where is this coming from?  Is there some parameter I can increase when
>building bash?  Is it the command itself that has the limitation?  Is it
>the system exec call?  Any helpful suggestions would be appreciated.

I have access to both a UnixWare and a SCO system.

I know that under UnixWare, there is a kernel parameter named ARG_MAX
that is the size of the total parameter area (argv+envp in c terms) for
new proceses.  This is the parameter that controls the maximum argument
list/environment list for exec system calls.

I have looked in the SCO kernel parameters, but I have not been able to
find a similar parameter.  Looks like you (and I) are out of luck

JC

ps: please let me know if you do get a more positive answer!
--
___  __  ____________________________________________________________________
   |/  \   Jan Christiaan van Winkel                        jc@sci.kun.nl
   |       Alternative e-mail addresses: jc@oreo.atcmp.nl and jc@atcmp.nl
__/ \__/ ____________________________________________________________________
Technical Details
Message-ID: <gnusenetCL9EJ6.I0z@sci.kun.nl>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!news.intercon.com!udel!news.sprintlink.net!nic.hookup.net!bloom-beacon.mit.edu!ai-lab!prep.ai.mit.edu!gnu
References: <1994Feb14.181931.12695@beaver.cs.washington.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10038b,c8d3cfa5040fa372
X-Google-Attributes: gid10038b,public
X-Google-Thread: 134180,c8d3cfa5040fa372
X-Google-Attributes: gid134180,public
X-Google-ArrivalTime: 1994-02-15 01:33:05 PST
To: gnu-bash-bug@nl.net
Distribution: world
Approved: info-gnu@prep.ai.mit.edu
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!news.intercon.com!udel!news.sprintlink.net!nic.hookup.net!bloom-beacon.mit.edu!ai-lab!prep.ai.mit.edu!gnu
Followup-To: gnu.bash.bug,biz.sco.opendesktop
Newsgroups: gnu.bash.bug,biz.sco.opendesktop
From: jc@sci.kun.nl (Jan Christiaan van Winkel)
Message-ID: <gnusenetCL9EJ6.I0z@sci.kun.nl>
Organization: University of Nijmegen, The Netherlands
References: <1994Feb14.181931.12695@beaver.cs.washington.edu>
Date: Tue, 15 Feb 1994 09:33:05 GMT
Subject: Re: Arg list too long
Lines: 28