Current mirror size

Jon TURNEY jon.turney@dronecode.org.uk
Tue Mar 11 14:01:00 GMT 2014


On 10/03/2014 20:09, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> Jon TURNEY sent the following at Monday, March 10, 2014 12:17 PM
>> On 10/03/2014 09:36, Alexander Kurilo wrote:
>>> could anyone say how much space does Cygwin mirror currently take?
>>> I'll be really grateful if someone can run du -hs * (or something similar) in
>>> the root of existing Cygwin mirror and post the output (or hint how can I see
>>> it myself given an existing mirror).
>>
>> $ du -hs * 4.0K md5.sum 48K unsupported 22G x86 15G x86_64
> 
> curl -s ftp://mirror.cs.vt.edu/pub/cygwin/cygwin/x86/setup.ini | \
> gawk '/^install: / || /^source: / { T = T + $3 ; N++ }; END { print N, T }'
> 9601 54669681355
> 
> 32 bit is 55G in 9.6k files.
> 
> curl -s ftp://mirror.cs.vt.edu/pub/cygwin/cygwin/x86_64/setup.ini | \
> gawk '/^install: / || /^source: / { T = T + $3 ; N++ }; END { print N, T }'
> 7179 44743121652
> 
> 64 bit is 45G in 7.2k files.

Good idea!  But these size numbers are not right, as this method counts the
size of a source package for every binary package which is built from it.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list