Nik's Blog

Geekery, witty insights, software (of dubious quality) and more!

Repairing a corrupse sparse disk image

I recently came upon an excellent and detailed account of how to recover a damaged sparse disk image.

I use encrypted sparse images all the time to securely store files. Sparse images have the advantage of automatically resizing as you add more files, so that you don’t have to devote a huge amount of disk space for the image until it’s really needed.

Unfortunately, it’s not uncommon for these images to become corrupt if the resizing process is cancelled before it’s completed (for example if if the Finder crashes while the image is resizing). As sparse images are also used for Filevault-protected Macs, this could potentially lead to a catastrophic loss of data.

So this technique, while somewhat involved, is a welcome addition to my disk repair arsenal.

@inik

inik: I love Dropbox because it's indispensible on an iPhone. Was the top of the list of things I recommended to my bro. http://t.co/AnMAp1K4 >
inik: RT @alexismadrigal: Yup, @Salon cut the number of stories they post, increased their quality, and got a 40% traffic boost. http://t.co/X ... >
inik: RT @mikememoli: "The NFL: We're working on that whole brain injury thing." >
inik: I am a sucker for dog ads. Add Ponda Baba and it's like bliss. >
inik: Live stream only available to Verizon customers. Wonder how much that cost them. Anyone know? #superbowl >

Google+

I love Seth's quote at the top. I think that's my new motto.. ; )

Powered by Plu.sr
>
Griping about OS X Lion? Here's two nifty tools that replace a variety of poorly supported third party tools: Command-line and Automator access to video and audio conversion. Super easy to use, and very flexible and supports any format that Quicktime can encode/decode. (So Perian is a must-install if you want to handle DivX/3viX, etc.)

Yes, ffmpeg, Handbrake and...
>
Fix Google Reader's horrible new interface with this user script! Now it fits nicely on my MacBook's small screen. >
Happy 11/11/11 11:11:11! >
What makes this ad awesome is not the true-to-life irony, because the idea is hardly innovative, but rather the excellent execution. Reminds me a bit of that excellent Nutri-Grain spec commercial. Quick delivery, good actors, hit all the high notes. Love it. >