On Sun, Jan 27, 2008 at 11:27:37AM +0100, sean finney wrote:
> On Thursday 24 January 2008 11:50:55 pm Steve Langasek wrote:
> > On Sun, Jan 20, 2008 at 03:17:35PM +0000, River Tarnell wrote:

> > >   xargs: rm: Argument list too long
> > >

> > The only way you could get this error message is if the combined number of
> > bytes in the environment and argument list exceeded the kernel maximum. 
> > Per the xargs manpage, by default the arguments are batched in groups of
> > 131072 bytes.  Do you have an extraordinarily large number of environment
> > variables?  If so, we might be able to fix this bug by using 'env';
> > otherwise, I can't see any way that this bug would occur with a normal
> > kernel.

> why not just throw a "-n 200" or something similar to xargs?

Sounds reasonable to me, though it does seem to be a workaround for a bug
elsewhere.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[EMAIL PROTECTED]                                     [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to