Mac OS X: auto unmount disk images
Monday, March 3rd, 2008Last time I wrote a small article about using encrypted disk images in Mac OS X to protect sensitive data in case your laptop gets stolen. I now use these images a couple of weeks and I’m very satisfied except one little thing (it’s always the little things). I want the volume to be unmounted when I close the lid of the laptop (sleep mode). When the laptop is stolen in sleep mode only my system password has to be compromized in order to get to the sensitive data. There’s no standard functionality to do this so we need to get creative…
update: better script added (thanks Karel!)