Obtaining File Reference Number

Are there any conditions (i.e. state of a file/folder) where it will not be possible to obtain its file reference number from an NTFS 5.X volume?

Do you mean FileId, right? Then you’ll always get fileid - it’s just extracted from the internal structures.

There’s a little problem with network redirectors - they don’t support open by file id. So if you open a file that is placed on a ntfs disk from network, query its fileid and then you’d query fileid locally on the machine - then both fileids would not be same.

Petr

wrote in message news:xxxxx@ntdev…
> Are there any conditions (i.e. state of a file/folder) where it will not be possible to obtain its file reference number from an NTFS 5.X volume?
>