INFO: cvs downtime

Tomasz Pala gotar at polanet.pl
Tue Apr 28 23:37:35 CEST 2009


On Tue, Apr 28, 2009 at 22:02:17 +0200, Arkadiusz Miskiewicz wrote:

>> >> > cvs -z3 -d${CROOT} co $SPECS
>> >>
>> >> cvs [ls aborted]: server does not support ls
>> >
>> > Works fine here with cvsnt as client.
>>
>> It's not...
>>
>> zsh: argument list too long: cvs
>>
>> $ echo $SPECS | wc -c
>> 562207
>>
>> $ echo $SPECS | xargs cvs -z3 -d${CROOT} co
> 
> Well, upgrade your kernel (and maybe zsh, too) then. Works fine in Th.


...yeah, let's require Th kernel.

FYI kernel's default ARG_MAX is 131072 (as of 2.6.29.2 I'm just running).

1. Despite of:
$ getconf ARG_MAX
2097152


2. zsh (4.3.6 from Th)

$ echo $SPECS | wc -c		this is builtin!
562207
$ /bin/echo $SPECS
zsh: argument list too long: /bin/echo

$ true $SPECS			builtin too!
$ /bin/true $SPECS
zsh: argument list too long: /bin/true


3.

$ export SPECS
$ [any command]
zsh: argument list too long: [command]


And I just gave you working solution (with xargs), zsh can handle this
itself by zargs.

-- 
Tomasz Pala <gotar at pld-linux.org>


More information about the pld-devel-en mailing list