Thanks Jonas for the reply.
And what you're saying makes perfect sense.
The reason why I was looking is because I'm trying to maintain a file list in a database and I'd like to be able to "recognize" if I'm adding the same file again, even if the path seems different.
For example on my NAS I have SMB and AFP enabled, which means that a share on my NAS can be mounted 2 ways at the same time, yet pointing to exactly the same file.
Under Windows not a problem, because Windows will not work with AFP anyway and ExpandUNCFileName will make a UNC out of it just fine, even if mapped to more than 1 drive letter
I'm trying to resolve this somehow for Mac (and Linux) as well.
Suggestions and ideas are most welcome ...
p.s. the files are rather large (GB's), so comparing them byte-by-byte is not really an option.