admin wrote:LittleBiG wrote:I have just tried "Paste Special" as hard link. Is there any way to see that this file is hard linked? I mean is it possible to show (e.g. by coloring) that the physical file has more than one name in the file system?
There would be a way, but it is too slow to use it for the main file list. It would be possible though as new field in the FIle INfo Tips.
If I understood it right a hardlink is just the same as the normal link (say: the original name) of a file, with another name.
And just had a look: Wiki says a hardlink can't be distinguished from the "original" link.
If this is right the only thing you can do would be to count the number of links refering to a physical file. And if you find more than 1 then hardlink(s) must have been made.
And if you delete the original link, the physical file remains with the second name, previously made as a hardlink...