Could ARG_MAX be increased?

Simon L. Nielsen simon at FreeBSD.org
Fri Sep 24 05:42:14 PDT 2004


On 2004.09.23 21:46:48 +0300, Giorgos Keramidas wrote:
> On 2004-09-23 14:28, Garance A Drosihn <drosih at rpi.edu> wrote:
> > I have nothing against the idea of increasing the value of MAX_ARGS,
> > as long as people realize that increasing it will not solve the issue
> > for all situations.
> 
> Yeah.  I think the real answer is to learn about find as you and others
> have suggested.

While it is correct that find is the best solution e.g. when
scripting, it can be a PITA e.g. when moving a lot of files that you
have to use find/xargs instead of simply "mv bla.*.1 dir/".  I know
how to use find, but it takes somewhat longer to type...

Just my 0.02(insert local currency).

Anyway, I'm probably just going to bump MAX_ARGS locally on my next
world rebuild :-).

-- 
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040924/183258c8/attachment.bin


More information about the freebsd-current mailing list