RFC: cleaning up updates and updates-testing

Steven Pritchard steve at silug.org
Fri Sep 10 16:53:15 UTC 2004


On Thu, Sep 09, 2004 at 11:59:21PM -0400, Charles R. Anderson wrote:
> >From a mirroring perspective, it is much more efficient to have an
> all-updates directory containing all the real files, and a
> latest-updates directory containing only symlinks to the newest files
> in the other directory.  That way rsync can sync the symlinks with
> --delete and you don't have to download the files again when they
> become obsolete and would otherwise be moved between directories.

But then there wouldn't be anything to --exclude easily (for mirrors
concerned about space).

To avoid the multiple-download problem, when the new update appears, a
hard link to the old update could be created in the obsolete-updates
directory.  The updates directory copy could then be deleted a week
later (or whatever).  As long as mirrors are using rsync -H and
mirroring regularly, they'd never need to re-download an update.

Steve
-- 
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve at kspei.com             http://www.kspei.com/
Phone: (618)398-7360               Mobile: (618)567-7320





More information about the users mailing list