Problem copying hard-linked symlinks

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

On Mon, Jun 16, 2014 at 10:51 AM, Chris Thompson <cet1 at> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list