On Tue, 26 Nov 2002, Roy T. Fielding wrote: > Subject: Re: FW: Older version of apache2 > > So you suggest initially populating old/ and then symlinking the > now-current version in the main download directory at the old/ > target, instead? It would still initially download the package > twice, and then simply unlink it later on, right? > > Or what's the right approach here?
If you want to move a file with rdist/rsync but don't want the mirrors to re-copy then you hard link the files. The mirror software should recognise that the new inodes are links to current inodes on their mirror. The link will be made. After a certain period when you are sure that all mirrors are up to date you remove the original inodes so completing the move. (Obviously you would only link the files, the directories would have to be new inodes.) Note that Hardlink preservation is on by default on rdist but not in rsync. It might be worth putting a note in the TLD indicating what is going on and why with and indication as to when the original files will be deleted. Tony J -- Tony Jewell [EMAIL PROTECTED] Cregganna Computer Consultants Ltd. http://www.cregganna.com/
