It appears something about the about rsync or the 1.7 version of cygwin is preventing the --link-destination function of rsync from working. Files that have not been changed at all should be linked together. On the hosts still running a cygwin 1.5 version of rsync the link-destination seems to work exactly as I expect it to.
I am using dirvish (http://www.dirvish.org/) on a Linux box (deb 5.0.3) to backup some of the data on windows boxes in the network. I have the cygwin+rsync setup in daemon mode on the servers. I recently upgraded a couple of the boxes to the latest cygwin 1.7. On the systems with cygwin 1.5 files are occasionally missed because of the path length limitations so I really want to get a cygwin 1.7 setup working. This is the command that is being issued by dirvish to perform the backup. rsync -vrltH --delete -pgo --stats -z -D --numeric-ids --timeout=300 --exclude-from=/srv/dirvish/srv-01/2009101610/exclude --link-dest=/srv/dirvish/srv-01/2009101420/tree 10.2.35.241::data/ /srv/dirvish/srv-01/2009101610/tree Here is the checksums and the output of stat of two files on my Linux box that I should have been linked together. No changes where made to this file on the windows box between the first and second backups. r...@pabil:# sha256sum 2009101420/tree/staff/Supply\ letter\ preschool.doc 2009101610/tree/staff/Supply\ letter\ preschool.doc 35cac3b2f0a54199da06c7ffdd5addf8634fa1d0829c11be8af037cf5572ddd1 2009101420/tree/staff/Supply letter preschool.doc 35cac3b2f0a54199da06c7ffdd5addf8634fa1d0829c11be8af037cf5572ddd1 2009101610/tree/staff/Supply letter preschool.doc r...@pabil:# stat 2009101420/tree/staff/Supply\ letter\ preschool.doc 2009101610/tree/staff/Supply\ letter\ preschool.doc File: `2009101420/tree/staff/Supply letter preschool.doc' Size: 22016 Blocks: 48 IO Block: 4096 regular file Device: fd02h/64770d Inode: 12042401 Links: 1 Access: (0700/-rwx------) Uid: ( 544/ UNKNOWN) Gid: ( 0/ root) Access: 2009-10-14 20:50:32.000000000 -0700 Modify: 2005-08-26 13:58:39.000000000 -0700 Change: 2009-10-14 20:50:32.000000000 -0700 File: `2009101610/tree/staff/Supply letter preschool.doc' Size: 22016 Blocks: 48 IO Block: 4096 regular file Device: fd02h/64770d Inode: 29475538 Links: 1 Access: (0700/-rwx------) Uid: ( 544/ UNKNOWN) Gid: ( 0/ root) Access: 2009-10-16 10:51:06.000000000 -0700 Modify: 2005-08-26 13:58:39.000000000 -0700 Change: 2009-10-16 10:51:06.000000000 -0700 I have posted the output of 'cygcheck -s -v -r' here (http://pastebin.com/m68d01c02). I would appreciate some help getting the --list-dest to work properly. If you have some ideas please share. If you need more information to help diagnose or find a solution please ask. Thanks, Chris Francy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple