limit bandwidth 'make fetch'

Pablo Mora Hinojosa bidjan at gmail.com
Thu May 11 10:08:38 PDT 2006


Frank Steinborn wrote:
> Pablo Mora wrote:
>> how i can limit bandwidth when i using 'make fetch' (make install in Ports)?
>>
>> thanks in advance.
> 
> You could use the following in your make.conf to use wget (which is
> capable of limiting bandwith) in your make.conf:
> 
> FETCH_CMD=/usr/local/bin/wget --limit-rate=20k     # Limits to 20k
> DISABLE_SIZE=YES
> 
> 
> DISABLE_SIZE is mandatory for wget, because it would get "-S <size of
> the file to fetch>" otherwise, which is only supported by fetch.
> 
> HTH,
> Frank
> 

Thanks Frank for your time. excellent tip!

regards.


More information about the freebsd-questions mailing list