How to check hard links 

http://www.debian.org/doc/manuals/reference/ch-tips.en.html

You can check whether two files are the same file with two hard links by:

$ ls -li file1 file2

documented on: 2007.08.03