Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: Jing Zhao To: cygwin AT cygwin DOT com Subject: rsync delta transmission won't work Date: Mon, 16 Jun 2003 18:19:48 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" I am sync'ing files on Windows to NetBSD unix box. when mounting unix through samba (CIFS), it's mapped to a drive (say g:), the following cmd is used to rsync: rsync -a -v -v --no-whole-file randfile.zip /cygdrive/g/rsync ----------------------- building file list ... expand file_list to 4000 bytes, did move done delta transmission enabled randfile.zip total: matches=0 tag_hits=0 false_alarms=0 data=21209310 wrote 21212033 bytes read 36 bytes 2020197.05 bytes/sec total size is 21209310 speedup is 1.00 ----------------------- Then added another a few bytes at the end of the randfile.zip, and run the cmd again: ----------------------- building file list ... expand file_list to 4000 bytes, did move done delta transmission enabled randfile.zip total: matches=10042 tag_hits=10044 false_alarms=0 data=610 wrote 40913 bytes read 60294 bytes 1927.75 bytes/sec total size is 21209314 speedup is 209.56 ----------------------- So only the partial file is transferred and it looked good. Now, run rsync through network like this: rsync -a -v -v --no-whole-file randfile.zip root AT myServer:/rsync ----------------------- opening connection using rsh -l root myServer rsync --server -vvlogDtpr . /rsync building file list ... expand file_list to 4000 bytes, did move done randfile.zip total: matches=0 tag_hits=0 false_alarms=0 data=21209314 wrote 21212037 bytes read 36 bytes 3856740.55 bytes/sec total size is 21209314 speedup is 1.00 ----------------------- Then added another a few bytes at the end of the randfile.zip, and run the same cmd again. Here is the output: ----------------------- opening connection using rsh -l root jingbsd rsync --server -vvlogDtpr . /rsync building file list ... expand file_list to 4000 bytes, did move done randfile.zip total: matches=0 tag_hits=0 false_alarms=0 data=21209318 wrote 21212041 bytes read 36 bytes 4713794.89 bytes/sec total size is 21209318 speedup is 1.00 ----------------------- rsync transmitted the whole file. Note that "delta transmission enabled" is not shown, even the exact options were used as in the 1st case? Can somebody tell me if rsync is broken? If not, why? Thanks. Jing -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/