Macos – How to open an HFS+ file by file ID


Given an HFS+/HFS volume and the catalog node ID (CNID) of a file it should be possible to open that file, and technote 1150 describes the algorithm for doing just that, yet nowhere can I find the corresponding API

As far as I can tell, the whole API requires either the file's name or its parent catalog node ID.

What gives?

Best Solution

Have you seen the volfs?

Legacy document: Technical Q&A QA1113: The "/.vol" directory and "volfs"