Mac OS X 10.4.9 DMG woes

The 10.4.9 update of Mac OS X has a "feature" where it will automatically fsck your .dmg's when you mount them, and if the fsck fails it will give the error "The disk image you are opening may be damaged and could damage your system."

Problem is, it is pretty common for users to have perfectly 'valid' .dmg's that fail the fsck, resulting in this annoying message every time you mount it. For example, .dmg's created from 'working' CD's. While it is true that the one I checked did have errors (an invalid extent and a volume bitmap error), it is equally true that there is no way to create a good image out of it. Disk Utility fails to repair the error.

As it turns out, if you mount these disks manually from the command line, you can use hdiutil mount -noautofsck image.dmg and it will bypass that message. Unfortunately there doesn't seem to be a way to set this preference for the DiskImageMounter, although I did come across a blog entry (link) which makes some mention of modifying an AppleScript to include the -noautofsck. But he doesn't mention which AppleScript that is. Not that I'm crazy about the idea of tweaking a system script.

So until someone either writes a DiskImageMounter replacement (something simple that calls hdiutil with -noautofsck) or Apple fixes the bug (err, adds a "feature" whereby I can turn off the autofsck), its just an annoyance I'll have to live with.

thank you thank you thank

thank you thank you thank you