William Kenworthy <billk <at> iinet.net.au> writes:

> I'll also jump on board this - http-replicator works great.  You build
> it from your existing distfile cache.  You do not need the large mirror
> files as many, or rather most are unlikely ever to be accessed.  Build
> it with what you already have, and just top it up as you go - if the
> file isnt already in your cache, its added when you download it.

> > http://gentoo-wiki.com/HOWTO_Download_Cache_for_LAN-Http-Replicator

What mechanisms can you employ to either limit the size of the stored files
or prune out the oldest files or the files that are completely obsolete
as new sources files exist in the distfile cache?

Is the distfile cache the same this as the CCACHE cache in the 
make.conf file? If so then, CCACHE_SIZE="3G" could be used to 
limit the cache size to 3 gigs, but, what mechanisms, short of 
a script can be used to prune out old duplicate sources?

I guess the download cache is the complemetary companion to setting
 up your own rsync mirror, as both allow for multiple systems to be 
updated and synced off of an internal system and only one system 
syncs or downloads new ebuilds/distfiles)?

I set this up both before, but I recall having to use aspects of 
several documents. In the end, I abandoned syncing off of a single 
system, as syncing update were sporadically successful, and the 
scripts and cron entries were not amicable.  I meant to get back to 
this problem to sort it all out.

It'd be much simpler if a single document explained all the methods 
and options and scripts, in a clear, consise manner to use a single 
system for syncing,cache-ing, updateding, and pruning of disk space.

tmpwatch, distcleaner, distclean, yacleaner, repcacheman, dailysync.sh
just to mention a few script possibilities .

and the 4 basic URLs I looked at to try and sort things out:
http://www.gentoo.org/doc/en/rsync.xml?style=printable
http://gentoo-wiki.com/HOWTO_Local_Rsync_Mirror.
http://gentoo-wiki.com/Http_proxy
http://gentoo-wiki.com/HOWTO_Download_Cache_for_LAN-Http-Replicator

USE this URL to automate the updating of Gentoo workstations:
http://www.panhorst.com/glcu/
was yet another approach.


Any comments or suggestions as to the development of a single,
concise document, would be appreciated. 

James



-- 
gentoo-user@gentoo.org mailing list

Reply via email to