Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

Inodes in Mac OS X


  • Please log in to reply
No replies to this topic

#1 DarkLordCthulhu


    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 422 posts
  • Location:The bash shell
  • Programming Language:C, JavaScript, Bash, Others
  • Learning:Ruby, Others

Posted 21 September 2011 - 02:42 PM

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?
  • 0
Programming is a journey, not a destination.

Also tagged with one or more of these keywords: mac

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download