How about storing file ids in extended attributes? That way you can always find out what the original file was. It won't work on all systems, but it's better than not being able to find out at all.
How about storing file ids in extended attributes? That way you can always find out what the original file was. It won't work on all systems, but it's better than not being able to find out at all.