Problems with link-dest

Wayne Davison wayned at samba.org
Tue May 16 15:10:47 GMT 2006


On Thu, May 11, 2006 at 10:41:33PM +0200, Florian Lindner wrote:
> But apparantly now hard link has been created:
[...]
> -rw-r--r-- 1 florian users 4  7. Mai 13:36 file1
[...]
> -rw-r--r-- 1 florian users 4  7. Mai 13:37 file1

No, those files aren't linked.  Notice the leading "1" in the hard-link
column which would be a "2" if they were hard-linked to each other.  The
reason they are not linked together is that you didn't use --times (-t)
in your rsync copy, so they ended up needing different timestamps, and
rsync can only hard-link files that have identical attributes.

..wayne..


More information about the rsync mailing list