Re: HFS/HFS+ mounting problems: HFS-fs: Filesystem is marked locked, mounting read-only.
> http://dev.gentoo.org/~josejx/diskdev_cmds-332.11.patch.bz2 which
> applies to the latest version of the Apple source found here:
> It's still not 100% complete yet, checking if the partition is mounted
> isn't done, and it's a little sloppy, but it should work fine for making
> new hfs/hfs+ filesystems and checking existing ones for errors.
> The Gentoo bug mentioned in the previous message is this one:
Not sure what's up but it gets unhappy with my ipod while OS X version
works fine. That is, it fails claiming something about number of threads
not matching (sorry, I lost the exact error message but I'll get that
back for you asap if you need it) while it passes on OS X. I also had to
hack the function that tests if it's mounted. You just put it all in
#ifdef but in the linux case, you never set the canWrite output (or
whatever it's name is :) so it would refuse to repair.