When using --backup, the sequence (as monitored by strace) is:

rename("/path/to/", "/")
rename("/path/to/..xxxxxx", "/path/to/")

This, of course, leaves a momentary window wherein can't be found. Might
it be possible to replace the first rename() with link() instead? This, of
course, could only be done when the backup directory is on the same volume.

Dave Mielke | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: dave@mielke.cc | Canada K2A 1H7 | if you're concerned about Hell.
http://FamilyRadio.com/ | http://Mielke.cc/bible/
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html