Re: Hashing and directories

H. Peter Anvin (hpa@transmeta.com)
Thu, 01 Mar 2001 13:24:04 -0800


Alexander Viro wrote:
>
> I _really_ don't want to trust the ability of shell to deal with long
> command lines. I also don't like the failure modes with history expansion
> causing OOM, etc.
>
> AFAICS right now we hit the kernel limit first, but I really doubt that
> raising said limit is a good idea.
>

Arbitrary limits are generally bad. Yes, using a very long command line
is usually a bad idea, but there are cases for which it is the only
reasonable way to do something. Categorically blocking them is not a
good idea either.

> xargs is there for purpose...

Well, yes; using xargs is a good idea, not the least because it enables
some parallelism that wouldn't otherwise be there.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/