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

-- 
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

Attachment: msg30712/pgp00000.pgp
Description: PGP signature

Reply via email to