Showing posts with label disc image. Show all posts
Showing posts with label disc image. Show all posts

Sunday, July 13, 2008

Mounting DMG - "Device not configured."

If you have trouble mounting an image with this error, open Terminal, paste in the line below, and hit ENTER. You're simply reloading the extension that handles image mounting.

DMG mount - device not configured - The macosxhints Forums:

sudo kextload /System/Library/Extensions/IOHDIXController.kext

Wednesday, April 12, 2006

Recovering space on a sparseimage file

If you’re like me and use sparseimage files for backing up your hard drive, you’ll notice that the disk can expand and shrink. But the cost is that, while the content on the image shrinks, the sparseimage file itself doesn’t, and you’re left with an ever-expanding image file.

The solution is to use hdiutil compact in the Terminal to reclaim the empty space:

localuser$ hdiutil compact /Volumes/HardDiskName/DiskFileName.sparseimage

Better yet, set up a script that runs as a cron job to do this automatically for you periodically!