HFSDebug Available for "Tiger"
I've just updated HFSDebug for Mac OS X 10.4 "Tiger". The version to get is 2.01 Beta.
I think this is a pretty exciting update, even for something as unexciting as a "debugger". The following primary changes have happened:
- hfsdebug now understands and displays the on-disk raw structures corresponding to HFS Plus extended attributes.
- In particular, hfsdebug can process Access Control Lists (ACLs) from scratch, and can display both the corresponding low-level data as well as the high-level semantical representation of that data.
- The old hfsdebug had a problem right from the very beginning: the problem showed up rarely, and was reported to me a handful of times within the last year. In the user-visible manifestation of this problem, hfsdebug would complain that it could not process a volume because a B-Tree node size was unacceptable (for example, too large). I think this is fixed now (but please let me know if you run into this again). The issue was that I had a particular block number calculation where a 64-bit result was expected, but because of a missing cast, the result was being truncated. Thus, whenever a B-Tree's starting point was above the 4 GB boundary (not very common in practice), hfsdebug would look at the wrong data thinking it's a B-Tree header. For those using Panther, hfsdebug-1.18 should fix this problem.
Note: This is a beta version. I say "beta" not as in "it would want to eat your disk" (this is a read-only debugger), but as in "it may be erroneous in its processing or displaying". I've only spent about two hours updating it, and things look in order at the moment. Looks can be deceiving though! I would appreciate all bug reports.
For further discussion or clarifications, please use this thread on kernelthread.com Forums.
Posted by amit at
08:52 PM
Result and Report: The Mac OS X Expert Challenge 2005.1
The result page for the Mac OS X Expert Challenge is live.
Result and Report: The Mac OS X Expert Challenge 2005.1
If you desire to have further discussion on this topic, please use this thread on Kernelthread Forums.
Posted by amit at
01:00 AM
The Mac OS X Expert Challenge 2005.1
The challenge encompasses two partially overlapping areas of expertise:
- Operating System Internals
- Security
My goals for this endeavor are the following:
- Probe popular interest in system-level Mac OS X topics. Knowledge of such interest is currently valuable to me as I am creating a book on such topics.
- Gauge the inquisitiveness and initiative of the Mac OS X community based on
the kind of response generated.
- Use the outcome to roughly quantify Internet-wide Mac OS X expertise outside
of Apple.
- Facilitate sharing of Mac OS X knowledge.
- At the very least, provide an interesting problem for some people to solve.
The Mac OS X Expert Challenge 2005.1
Posted by amit at
12:30 AM