Subject: Re: bug#17103: regression: cp -al doesn't copy symlinks, but tries to link to them (fail)

From: Eric Blake <[email-masked]>
Date: Wed, 26 Mar 2014 14:37:29 -0600

On 03/26/2014 02:21 PM, Linda Walsh wrote:

>     As far as I know, you could never hardlink
> to a symlink.  only to a file.

Wrong.  Linux and Solaris have been able to hard link to symlinks for
YEARS; and POSIX 2008 standardized that ability when it added the
linkat() syscall.  BSD has been behind in adding that ability, but is
slowly getting there.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org