On Thu 09 Feb 2006, yogesh kulkarni wrote:

>        Am presently working on rsync and would like to know
>        how does rsync identify hardlinks.I have gone through 
>        the hlink.c file and have not really understood the 
>        flow presented in the function.If anyone can provide 
>        some more info on this please inform me.

It does it the same way any application does:

compare inode and device number. When those are the same, the two files
must be hardlinked.


Paul Slootman
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to