X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,SARE_FROM_CONS6S X-Spam-Check-By: sourceware.org Received-SPF: pass (google.com: domain of tgckpg AT gmail DOT com designates 10.180.100.33 as permitted sender) client-ip=10.180.100.33; Authentication-Results: mr.google.com; spf=pass (google.com: domain of tgckpg AT gmail DOT com designates 10.180.100.33 as permitted sender) smtp.mail=tgckpg AT gmail DOT com; dkim=pass header.i=tgckpg AT gmail DOT com MIME-Version: 1.0 Date: Sun, 26 Feb 2012 17:23:00 +0800 Message-ID: Subject: rsync between cygwin and debian From: =?UTF-8?B?5paf6YWM6bWs5YWE?= To: Cygwin Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Originally I have the folder (say "MyFiles") in both debian and windows. Before using rsync, I copy sync my files using third party software to sync it through debian samba and windows. After then, I decided to use rsync and got some "problem" that how rsync behave... Remote files: "MyFiles" in ExtHDD mounted on debain with ntfs file system Local files: MyFiles in drive "D:" command: rsync -roziD /cygdrive/d/MyFiles user AT server:/media/ExtHDD/MyFiles The problem is rsync seems working normally, listing files being copied ... working fine. However all the files seems not being compared but just copy directly which I'd been told that "rsync just copy modified bits" By using iotop in debian, I discover that there is obly disk write around 8 MBps. Then i stopped the sync, re-enter the command and see what's happened. iotop had shown that there is 30MBps disk read and 1K disk write on disk, Those were rsynced files. But then when it hits the files that were not yet rsynced, it turns down just copying the files directly. I may conclude that the file are really different when before they synced. So i check files md5 before and after they synced. Before = c569662d131db2cd6ceaf1d1e07d9f12 After = c569662d131db2cd6ceaf1d1e07d9f12 And they are exactly the same file. Here are some rsync output: