DO NOT REPLY [Bug 3692] regression: symlinks are created as hardlinks with --link-dest

samba-bugs at samba-bugs at
Mon Apr 17 16:06:07 GMT 2006

------- Comment #2 from hashproduct at  2006-04-17 11:06 MST -------
Rsync's strange behavior is clearly the fault of BSD's link(2), which, as you
implied, hardlinks symlink targets instead of the symlinks themselves.

The solution is to add a configure check that tests link(2) and
defines/undefines CAN_HARDLINK_SYMLINKS appropriately.  If
CAN_HARDLINK_SYMLINKS is not defined, then rsync would not consider --link-dest
directories when transferring symlinks.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list