Date: Fri, 4 Jan 2002 21:50:45 -0500 (EST) From: David Miller <dmiller@sparks.net> To: freebsd-hackers@freebsd.org Subject: Overriding ARG_MAX Message-ID: <Pine.BSF.4.21.0201042145070.27496-100000@search.sparks.net>
next in thread | raw e-mail | index | archive | help
Apologies if this belongs on -questions. I couldn't find what I needed in the archives or handbook. 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. 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? Thanks in advance, --- David 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?Pine.BSF.4.21.0201042145070.27496-100000>