I am experimenting with Matt McCutchen's excellent continusync script,
and I'm having an issue. (My copy of continusync has been modified from
the original
http://mattmccutchen.net/utils/continusync by adding this @ line 227:
<$fromInwt>;
as suggested by Matt.)
The problem is easily reproduced:
# mkdir ~/foo
# continusync ~/foo [EMAIL PROTECTED]:~/foo &
# vi ~/foo/bar.txt
This generates an immediate exit from continusync with the following 3
messages:
"rsync: link_stat "/root/foo/.bar.txt.swx" failed: No such file or
directory (2)
rsync error: some files could not be transferred (code 23) at
main.c(977)
[sender=2.6.9]
[1]+ Broken pipe continusync ~/foo [EMAIL PROTECTED]:~/foo"
This is using slackware 11, on which vi is a link to vim version 7.0.
By strace'ing vi I can see that it rapidly creates then destroys the
.swx
file.
I suspect there may be a race in continusync somewhere, but I
haven't been successful at narrowing it down. I am using rsync v2.6.9,
the
latest stable version.
Can anyone help me to troubleshoot this issue?
Thanks,
Charles
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html