[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Intelligent mirroring



> cp -al debian debian.new                      # copy using hardlinks
> rsync -a upstream::debian/ debian.new
> mv debian debian.old ; mv debian.new debian   # shorter race anyway
> rm -rf debian.old

For a totally ludicrous solution: make an LVM snapshot of the archive and
offer that to the ftp daemon. Update using a "naive" rsync command and
switch snapshots.

If that isn't atomic, I give up. ;)

--
Wessel Dankers <wsl@nl.linux.org>

The mouse escaped.



Reply to: