Download presentation
Presentation is loading. Please wait.
Published bySharyl Washington Modified over 9 years ago
1
HFS+
2
Linus Torvlads [smh.com.au] When asked about which is better Windows or Mac OS: I don't think they're equally flawed. I think Leopard is a much better system. On the other hand, (I've found) OS X in some ways is actually worse than Windows to program for. Their file system is complete and utter crap, which is scary. I think OS X is nicer than Windows in many ways, but neither can hold a candle to my own (Linux). It's a race to second place.
3
HFS+ File system developed by Apple Used since OSX 8.1 (January 19, 1998) Used by computers running OSX, iPods
4
HFS+ Block addresses are 32-bit length uses Unicode, permits filenames up to 255 UTF-16 characters in length Uses B*-trees to store most volume metadata Maximum file size is 2^63 bytes
5
HFS+ Journaling support added November 11, 2002 (known internally as HFSJ) With 10.4, Apple added support for Inline Attribute Data records allowing support for access control list-based file security (compatible with Win XP, 2003)
6
HFS+
7
How does OSX FS store extended attributes for the files? Any regular file may have a list of extended attributes Extended attributes are limited to that which can fit within a single B-Tree Denoted by a name and the associated data The name is a Unicode string
8
How does OSX FS store extended attributes for the files? Say you have a file with comment. If you move that file to a thumb drive or CDROM (which does not support extended attributes), is the comment lost?
9
How does OSX FS store extended attributes for the files? File is given attributes File is then copied to a lesser volume (Fat32) A file starting with a “.” is created and added to the file system Files starting with “.” are hidden in the Unix world but show up in Windows
10
Resources: http://developer.apple.com/technotes/tn/tn1150.html http://www.smh.com.au/news/technology/q-and-a- with-linus- torvalds/2008/02/05/1202090403120.html?page=fullp age#contentSwap2 http://arstechnica.com/reviews/os/macosx-10-4.ars/7
11
Demo
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.