Reading the Superblock
问题 I know that in Unix (specifically, Mac OS X) the superblock stores information about the layout of data on the disk, including the disk addresses at which the inodes begin and end. I want to scan the list of inodes in my program to look for deleted files. How can I find the disk address at which the inodes begin? I have looked at the statfs command but it does not provide this information. 回答1: Since you mention Mac OS X, let's assume you mean to do this for HFS+ only. The Wikipedia page