On Thu, Oct 27, 2011 at 5:30 AM, Wayne Davison <way...@samba.org> wrote: > Here's a patch that should handle the above idea: > http://pastebin.com/UTbtFu8Ta
Unknown Paste ID! Regardless, all your suggested changes still improve the capability of rsync to run simultaneously on the same tree, so it sounds good. My one niggle is that always keeping the token in the temporary filename without any special-case truncation would allow users to have stronger guarantees about excluding these files. How about rsync trims just the original filename portion, and if it reaches zero characters and even '.XXXXXX.rsynctmp' doesn't fit, error out. If we want to keep going, rsync could try fewer X's down to zero and eventually try the 9 char '.rsynctmp' filename. (Well, one problem with the above is the exclude pattern would have to be .*rsynctmp, so you could give up at the 11 char '.A.rsynctmp' instead.) Alex -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html