[Bug 8856] --hard-links does not handle hard-linked symlinks correctly on FreeBSD

samba-bugs at samba.org samba-bugs at samba.org
Thu Aug 8 11:44:37 MDT 2013


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

--- Comment #7 from awk <sambabugzilla201308 at awk.bz> 2013-08-08 17:44:36 UTC ---
Well, under FreeBSD linkat() will hardlink symlinks, i.e. instead of:

link(source, target);

use:

linkat(AT_FDCWD, source, AT_FDCWD, target, 0);

I patched my copy of rsync to use that and it worked when copying files, but
not when using --dry-run (still printed errors / hung).

So that's part of it, at least. I plan on digging into it further when I have a
chance.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list