On Fri 23 Oct 2009, Matt McCutchen wrote: > On Fri, 2009-10-23 at 09:15 +0200, Riccardo Iaconelli wrote: > > > > [r...@popper linksys]# rsync -avz --hard-links test/ test2/ > > sending incremental file list > > ./ > > file1 > > file2
> > Is this a bug or just samba being not reliable for hard links? :-) > > Probably the latter. You can always strace rsync to check that it is > issuing the link(2) call and see what the result is. Rsync is not even trying the link(2) call, as it doesn't recognize that the files are linked; the output would have been: ./ file1 file2 => file1 Please do an ls -li on the source, to see if the inode numbers are the same. Perhaps even do it with separate ls invocations ("ls -li file1; ls -li file2") to see if it varies. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html