This already does exist (at least it should on most mirrors) its called dir_sizes (as below). Granted it does not show quite the
level of detail the fedora one does, it still has some info.
e.g.
http://centos.mirror.uber.com.au/dir_sizes
Ive added one with a little more detail if you are interested:
http://centos.mirror.uber.com.au/DIRECTORY_SIZES.txt
Regards,
Seamus
From: centos-mirror-bounces@centos.org [mailto:centos-mirror-bounces@centos.org]
On Behalf Of Keith Bachman
Sent: Wednesday, July 10, 2013 2:44 AM
To: centos-mirror@centos.org
Subject: [CentOS-mirror] Mirror Sizes?
I am working on setting up an internal repo (for a couple of tested/stable-for-us versions) of CentOS 5 and 6, and need to make sure I allocate enough (virtual) disk space for it, but I'm not able to find any information on how big the
current repos are (without pulling it myself and calculating it).
Fedora has a text-dump from their structure (just the results of a 'du -h' on the tree) - would it be possible for this to become a regular thing for CentOS to do as well? Would help immensely with those attempting to set up a mirror to
accurately size them.
Here is Fedora's dump:
http://dl.fedoraproject.org/pub/DIRECTORY_SIZES.txt
Here is where they link to it from:
Thanks!
Keith Bachman