information on identifying hard links to a file
Paul Slootman
paul at debian.org
Thu Feb 9 14:04:17 GMT 2006
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
More information about the rsync
mailing list