From owner-freebsd-current@FreeBSD.ORG Thu Sep 23 13:59:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E354616A4CE for ; Thu, 23 Sep 2004 13:59:23 +0000 (GMT) Received: from shrike.submonkey.net (cpc2-cdif3-6-0-cust204.cdif.cable.ntl.com [81.103.67.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FCB443D66 for ; Thu, 23 Sep 2004 13:59:23 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.42 (FreeBSD)) id 1CAU81-0003X4-5v; Thu, 23 Sep 2004 14:59:21 +0100 Date: Thu, 23 Sep 2004 14:59:21 +0100 From: Ceri Davies To: Putinas Piliponis Message-ID: <20040923135921.GK2493@submonkey.net> Mail-Followup-To: Ceri Davies , Putinas Piliponis , Cyrille Lefevre , Juha Saarinen , freebsd-current@freebsd.org References: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OY4z34RctfP64Hws" Content-Disposition: inline In-Reply-To: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.6i Sender: Ceri Davies cc: Cyrille Lefevre cc: Juha Saarinen cc: freebsd-current@freebsd.org Subject: Re: Could ARG_MAX be increased? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 13:59:24 -0000 --OY4z34RctfP64Hws Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 23, 2004 at 04:54:56PM +0300, Putinas Piliponis wrote: >=20 > > -----Original Message----- > > From: owner-freebsd-current@freebsd.org > > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Cyrille Lefevre > > Sent: Thursday, September 23, 2004 4:47 PM > > To: Juha Saarinen; freebsd-current@freebsd.org > > Subject: Re: Could ARG_MAX be increased? > >=20 > > "Juha Saarinen" wrote: > > > Currently, ARG_MAX is set to: > > >=20 > > > $ getconf ARG_MAX > > > 65536 > > > =20 > > > in syslimits.h. This is quite low compared to other OS (SunOS has 1MB > > > IIRC, and OpenBSD 3.5 256K) and causes the "argument list too long" > > > issues when for instance grep'ing in directories with lots of files. > >=20 > >=20 > > how about grep -r ou find | xargs grep ! > >=20 >=20 > but this is workaround - isn't it ?=20 Well yes, but you need to know how to workaround this. Otherwise, what happens when you hit ARG_MAX limit? You lobby the developer of that system to up the number and then upgrade? Ceri --=20 It is not tinfoil, it is my new skin. I am a robot. --OY4z34RctfP64Hws Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBUta4ocfcwTS3JF8RAtQfAKC91a1jChC0nxe6BHdtMiiYSfVuPgCghfmU k++a4F03sV5bwBp/nUWsado= =UJbX -----END PGP SIGNATURE----- --OY4z34RctfP64Hws--