Hello. I just installed the latest version of cygwin (1.5.18-1) from cygwin.com on my Windows XP machine. I have had a lot of success between Linux boxes but after many months of mixed results I have had much less than perfect luck with rsync from a Linux box [LOCAL] to a windows box [REMOTE]---that is, constant hanging. I have tried to follow the FAQ on using strace to figure out why things are hanging, but I'm not understanding what gets launched where and in what order. I created the rsync-debug script as suggested, but it's unclear how to use it. Would you guys mind giving a step-by-step on how to get this strace info? For example, let's say on [LOCAL/Linux] I want to issue the command: rsync -avz user@[REMOTE/Windows]:/path/to/stuff/ dest/on/local/ Do I first launch the rsync-debug on [REMOTE/Windows]? Do I modify the above command in order to get things rolling? Cheers and thanks in advance. -Ken
On Thu, Jan 05, 2006 at 10:40:09PM -0000, Ken Senior wrote:> but after many months of mixed results I have had much less than > perfect luck with rsync from a Linux box [LOCAL] to a windows box > [REMOTE]---that is, constant hanging.This is the oft-encountered problem in cygwin: data-loss in local pipes (in this case data flowing between a remote shell and rsync). You may wish to ask about the problem on the cygwin list and see if they have any info on when this might get fixed. As mentioned previously, using an rsync daemon to allow direct socket connections avoids this problem (since no local pipes are used). ..wayne..