Locate file by ID on NTFS?

Hi,

I wanted to catch up on this thread:
http:

Does anyone know of a way how to find a file’s full path on an NTFS volume based on its file ID? I am aware of the option of crawling etc., but this is not efficient.

Best regards
Bernhard Schandl</http:>

In K-mode I’d assume the appropriate privs, open by Id (drop the privs) and then do a FltGetFileNameInformation.

Notethat you’lll only get one of the names, but since Vista there is a FsCtl to get you all the others.

I’m guessing the same is true in Umode…