This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Current mirror size
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin at cygwin dot com
- Cc: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder at niaid dot nih dot gov>
- Date: Tue, 11 Mar 2014 13:17:44 +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>
- Reply-to: cygwin at cygwin dot com
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