This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Current mirror size
- From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 11 Mar 2014 13:29:30 +0000
- Subject: RE: Current mirror size
- Authentication-results: sourceware.org; auth=none
- References: <lfk132$1a7$1 at ger dot gmane dot org> <531DE579 dot 3060405 at dronecode dot org dot uk> <6CF2FC1279D0844C9357664DC5A08BA2263884 at MLBXV06 dot nih dot gov> <531F0CF8 dot 5020906 at dronecode dot org dot uk>
Jon TURNEY sent the following at Tuesday, March 11, 2014 9:18 AM
>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.
curl -s ftp://mirror.cs.vt.edu/pub/cygwin/cygwin/x86/setup.ini | \
gawk '/^install: / { T = T + $3 ; N++ }; END { print N, T }'
4881 10124045929
32 bit: 10G in 4.9k files
curl -s ftp://mirror.cs.vt.edu/pub/cygwin/cygwin/x86_64/setup.ini | \
gawk '/^install: / { T = T + $3 ; N++ }; END { print N, T }'
3593 7238904766
64 bit: 7.2G in 3.6k files
I'd thought that a complete mirror includes source, but I agree that
one doesn't need that if the mirror is for private use.
Not being a developer and so not paying attention to source packages,
I hadn't realized that source was so much more bulky than binary.
- Barry
Disclaimer: Statements made herein are not made on behalf of NIAID.