Does the HFS+ file system reuse inode numbers after entries are fully deleted? I am trying to determine if the inode number always grows or if the numbers are reused.
1 Answer
See the "Catalog File" section in Apple's Technical Note TN1150: HFS Plus Volume Format for more info.
HFS+ doens't have "inodes" exactly. It uses the "Catalog File" system. A CatalogNodeID (CNID) Folder ID or File ID gets reported as the inode number in unix tools. CNIDs are allocated sequentially and can wrap around for reuse, by incrementally finding the first free CNID value.