samba-bugs@samba.org
2005-Jun-09 08:41 UTC
[Bug 2781] New: rsync linked files not listed as uptodate
https://bugzilla.samba.org/show_bug.cgi?id=2781 Summary: rsync linked files not listed as uptodate Product: rsync Version: 2.6.5 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: idallen@idallen.ca QAContact: rsync-qa@samba.org rsync version 2.6.5 protocol version 29 Rsync is broken and now claims that all linked files are not "uptodate". Create a directory and two files: bash-3.00$ mkdir a bash-3.00$ date >a/foo bash-3.00$ date >a/bar rsync the directory; note a/foo and b/foo get updated: bash-3.00$ rsync -avvH a b building file list ... done created directory b delta-transmission disabled for local transfer or --whole-file a/ a/bar a/foo total: matches=0 tag_hits=0 false_alarms=0 data=58 sent 265 bytes received 70 bytes 670.00 bytes/sec total size is 58 speedup is 0.17 rsync the directory again; note that a/foo and b/foo are "uptodate": bash-3.00$ rsync -avvH a b building file list ... done delta-transmission disabled for local transfer or --whole-file a/bar is uptodate a/foo is uptodate total: matches=0 tag_hits=0 false_alarms=0 data=0 sent 127 bytes received 38 bytes 330.00 bytes/sec total size is 58 speedup is 0.35 Change a/bar to be a link to a/foo: bash-3.00$ rm a/bar bash-3.00$ ln a/foo a/bar Remove the destination directory and rsync: bash-3.00$ rm -r b bash-3.00$ rsync -avvH a b building file list ... done created directory b delta-transmission disabled for local transfer or --whole-file a/ a/foo a/bar => a/foo total: matches=0 tag_hits=0 false_alarms=0 data=29 sent 212 bytes received 60 bytes 544.00 bytes/sec total size is 58 speedup is 0.21 rsync the directory again; note that only a/bar is listed as "uptodate", and rsync incorrectly says it needs to update a/foo: bash-3.00$ rsync -avvH a b building file list ... done delta-transmission disabled for local transfer or --whole-file a/bar is uptodate a/foo total: matches=0 tag_hits=0 false_alarms=0 data=0 sent 138 bytes received 39 bytes 354.00 bytes/sec total size is 58 speedup is 0.33 Repeating the rsync, it always says the same (incorrect) thing. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.