Problem copying hard-linked symlinks

Wayne Davison wayned at samba.org
Sun Jun 22 10:23:10 MDT 2014


On Mon, Jun 16, 2014 at 10:51 AM, Chris Thompson <cet1 at cam.ac.uk> wrote:

> but rather than hardlinking the first symlink it hardlinks its
> *target* (or fails if the target doesn't exist [yet]).
>

Yeah, that's what configure is testing for -- that link() doesn't work
right with symlinks (it affects the referent instead).  The latest rsync
code should handle the case where CAN_HARDLINK_SYMLINK isn't set, so you
should be able to leave it undefined and use the latest code.  If there is
some link() function somewhere on solaris that works properly with
symlinks, then you should experiment with link options and see if you can
find it.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20140622/55084e7d/attachment.html>


More information about the rsync mailing list