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

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


https://bugzilla.samba.org/show_bug.cgi?id=3692





------- Comment #2 from hashproduct at verizon.net  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: 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.


More information about the rsync mailing list