https://bugzilla.samba.org/show_bug.cgi?id=4079
Summary: rsync fails with --inplace, --link-dest and --no-whole- file Product: rsync Version: 2.6.8 Platform: x86 OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] System: Debian sarge (x86) with a locally compiled 2.6.8 version of rsync with the ACL patches applied. Kernel updated to 2.6.16.20. The command below fails if there is a reference file in "/tmp/test/b" that is slightly different to the file in "/tmp/test/a" and the destination file does not exist in "/tmp/test/c". rsync -a --no-whole-file --inplace --link-dest=/tmp/test/b tmp/test/a/ tmp/test/c/ If rsync is run with -vvvv, the RSYNC algorithm appears to run correctly and determine the blocks in the file that are missing. Unfortunately, only the changed data is written to the file in "/tmp/test/c/" and the rest of the file is zeros. I suspect this is because an empty destination file is created when the file doesn't exist rather than hard-linking the destination file to the link-dest file before performing the in-place copy. -- 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. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html