Displaying 1 result from an estimated 1 matches for "dl1jcnfm".
2011 Oct 20
2
Patch: Better handling for rsync temporary files
Hi all,
These two patches change how rsync handles temporary files on the receiver
side. The first patch adds a static token to rsync's temporary filenames.
The second patch ignores files with this token when using --cvs-ignore.
http://pastebin.com/DL1jCNfm
http://pastebin.com/yy9duP8Z
The behaviour I wanted to improve was the case where two rsyncs are
simultaneously reading and writing the same tree. In this scenario the
reader can end up reading the writer's temporary files (unless you use
--temp-dir) and copying them elsewhere.
A side effect...