From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16287 invoked from network); 1 Oct 2002 21:08:14 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 1 Oct 2002 21:08:14 -0000 Received: (qmail 7247 invoked by alias); 1 Oct 2002 21:08:00 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17754 Received: (qmail 7225 invoked from network); 1 Oct 2002 21:07:58 -0000 From: "David Gómez" Date: Tue, 1 Oct 2002 23:07:42 +0200 To: Dan Nelson Cc: Zsh-workers Subject: Re: Argument list Message-ID: <20021001210742.GA13924@fargo> References: <20021001195417.GA13192@fargo> <20021001202002.GG7147@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20021001202002.GG7147@dan.emsphone.com> User-Agent: Mutt/1.3.28i > > I created a directory with 100000 files to test the new htree patch > > for the ext3 filesystem, and found a ¿bug? when I tried to remove all > > the files. The command 'rm *' gave the error 'zsh: argument list too > > long'. If expansion doesn't support so many parameters, what it's the > > supossed way to remove all these files without deleting the > > directory? > > You sure the error wasn't 'zsh: argument list too long: rm' ? You're right, that was the full error line. I didn't put the rm because i thought it wasn't important, my fault. > internal shell wildcard expansion has no argument limit. execve() > does. Either raise your kernel's limit (sorry; don't know how to do it > on Linux), I've been trying to raise some limits, but none of them affect the number of parameters execve() supports, maybe is possible to change it in linux through some /proc variable, or a kernel recompilation is needed. I just wanted to know if this was a zsh related problem, now i'll look forward to know how to change execve limits. Thanks to all the replies ;), -- David Gómez "The question of whether computers can think is just like the question of whether submarines can swim." -- Edsger W. Dijkstra