Jump to content

Inodes in Mac OS X

- - - - -

  • Please log in to reply
No replies to this topic

#1
DarkLordofthePenguins

DarkLordofthePenguins

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 409 posts
I am wondering how inodes are stored or created in Mac OS X. I understand that the HFS+ filesystem used by Mac OS uses a file catalog to store metadata about files and pointers to their blocks. However, the POSIX interface in OS X allows you to manage files and directories in the same way you do on a traditional Unix system (using inodes, hard links, etc.), and the stat system call shows inode information not contained within the file catalog nodes.

How does this work? Is there an actual inode table existing alongside the file catalog? Or is it a virtual inode table generated by the VFS from information stored in the file catalog and file forks?
Programming is a journey, not a destination.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users