Is there any tool able to repair/rebuild extended attributes file?
For now I tried fsck_hfs
from Mac OS X 10.6.3 Retail DVD, fsck.hfsplus
from GParted 0.5.2 livecd and Paragon Partition Manager 11. All without any success.
This man page states that fsck_hfs
have -R
option to specify which B-trees need to be rebuilt, but I've not found anywhere fsck_hfs
binary that accepts this option.
Now I have HDD with broken HFS+ attached to VM in VirtualBox over network (via FreeBSD's GEOM gate), because I currently have no SATA-USB adapter.
Best Answer
Specify the option as
If you command fsck_hfs with no option, then the list of options presented under 'usage' may be less than the options that are truly accepted. This is, I believe, a
documentationbug.Update — 2011-07-30
If the -R option is unrecognised by fsck_hfs in Mac OS X 10.6.3, assume that it was introduced in a later version of 10.6.x — for the manual page referenced in the opening post, between 10.5 and 10.6.6 there's nothing.
Snow Leopard in the Apple Store (UK) remains at 10.6.3 so if you require bootable media with the more capable version of fsck_hfs I should recommend either of the following:
upgrade an installation of Snow Leopard to 10.6.8 or greater
await Apple's production of Lion on a USB thumb drive (beware of known risks and unknowns associated with things hacked from 11A511).
For reference, here's a transcript from 10.7 (Build 11A511):