On Mon, 10 Nov 2003, walt wrote:
Andrea Arcangeli wrote:
How is this different from writing one file named LOCK while updatingOn Mon, 10 Nov 2003, Andrea Arcangeli wrote:The best way to fix this isn't to add locking to rsync, but to add two
files inside or outside the tree, each one is a sequence number, so you
fetch file1 first, then you rsync and you fetch file2, then you compare
them. If they're the same, your rsync copy is coherent. It's the same
locking we introduced with vgettimeofday...
the tree?
This is even simpler I believe. If you happen to fetch it, you restart the rsync. Peter ?
(maybe the name LOCK should be replaced by something more "uniq")