hi, 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. thanks yogesh sp-soft --------------------------------- Yahoo! Mail - Helps protect you from nasty viruses. -------------- next part -------------- HTML attachment scrubbed and removed
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