Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 19:03:03 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        David Miller <dmiller@sparks.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Overriding ARG_MAX
Message-ID:  <20020104190303.A21307@Odin.AC.HMC.Edu>
In-Reply-To: <Pine.BSF.4.21.0201042145070.27496-100000@search.sparks.net>; from dmiller@sparks.net on Fri, Jan 04, 2002 at 09:50:45PM -0500
References:  <Pine.BSF.4.21.0201042145070.27496-100000@search.sparks.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 04, 2002 at 09:50:45PM -0500, David Miller wrote:
> Apologies if this belongs on -questions.  I couldn't find what I needed in
> the archives or handbook.

It almost certaintly did.

> I have a system where I need/want to handle lots of files in a single
> directory.  Lots as in 100-200K files.  ls | wc -l breaks because the
> value of ARG_MAX in sys/syslimits.h is too small.  If I change it from
> 65536 to 4meg and rebuild the world it works fine.

ls | xargs wc -l

would work with an arbitrary number of files.

> I do cvsup from time to time and have to re-edit the file, which I usually
> forget.  Is there a way to set this parameter in make.conf or the config
> file so it's always done when compiling the kernel?

One solution is to use cvsup to maintain a local copy of the cvs
tree and check out source tree out using cvs.  This will mean that cvs's
automerging support will keep your changes untouched.  You may have to
resolve an occational conflict if something changes near your changes,
but otherwise your changes will remain intact.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--ew6BAiZeqk4r7MaW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8NmzmXY6L6fI4GtQRAq8qAJ4xr/lV/WKqeT6YKytZqP1t9qUO0ACfemyN
uOSnrqSHNqXh8lyZfI1meZU=
=loof
-----END PGP SIGNATURE-----

--ew6BAiZeqk4r7MaW--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020104190303.A21307>