This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Current mirror size


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]