3
votes
0answers
209 views

How do I determine what file occupies a given sector in Mac OS X?

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 ...
5
votes
1answer
898 views

Finding the file that is on a bad block on a HFS+ volume (debugfs for HFS+)

I have a drive in our iMac that has bad blocks, as booting from an Ubuntu 11.10 live CD and using ddrescue -f /dev/sda /dev/null finds them. I'd like to get the drive to remap them by writing to the ...