Re: 2.3.51

From: Jeff Garzik (jgarzik@mandrakesoft.mandrakesoft.com)
Date: Mon Mar 13 2000 - 08:59:15 EST


On Mon, 13 Mar 2000, Riley Williams wrote:

> Hi Daniel.
>
> >> I have to admit to having seen no discussion about this
> >> prior to this email. However, one obvious fix presents
> >> itself to my eyes: Insert "--max-lines=1000" between
> >> "xargs" and "rm" in the relevant command line(s).
>
> > Hmm... xargs -s <max rm command-line size> is probably more
> > portable, as --max-lines requires GNU xargs, which makes
> > building Linux on another platform a bit harder (i.e. when
> > 1st porting, or for Mastodon :-)
>
> > Yet another patch (should have looked at the xargs man page
> > before sending the previous patch. Oh well :-)
>
> Unfortunately, that patch also needs patching - the maximum
> command line length is one byte short of 128k if my understanding
> is correct, so that version has an off-by-one error. Just replace
> the 131072 with 131071 instead.

Just do a safe number guaranteed to be non-broken and non-magic, like
10000 or 50000 or so...

        Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:26 EST