On Tue, Dec 27, 2011 at 4:25 AM, Benjamin Pflugmann < [email protected]> wrote:
> Summary: When (repeatedly) running rsync with --hard-links and > --ignore-existing, new hard links are copied instead of linked. Yeah, it's a side-effect of how the skipping is encoded. All existing files are skipped before checking if they are up-to-date or not, so they are not considered as potential link choices. To change this, the code would need to be changed to remove the current skip-existing check and add in duplicate versions of it into every code path right after we figure out that this thing isn't up-to-date (e.g. in the symlink code, in the file code, in the device code, in the special-file code). That would let a non-up-to-date file get marked as skipped, but an up-to-date file get left as valid, but just not treated as a normal transfer file (since it's supposed to be getting skipped). This is not something I plan to tweak in the code at this time. ..wayne..
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
