Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are similar questions for Windows and Linux, but I need this on OS X. The filesystem is HFS+, journaled. I have a sector LBA, I could find where a partition starts with gpt (though it refuses to work for mounted volumes), but I need something to map a sectors number within an HFS+ volume to the file that contains it.

Edit: I copied the sectors around that area from /dev/rdisk0 using dd, and the contents appear to be parts of the directory structure of the volume. The strange thing is that these were supposed to be damaged sectors, yet they can be read without problems, and smartctl reports Reallocated_Event_Count = 0 and Current_Pending_Sector = 0, so they shouldn't have been reallocated...

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.