Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a sparse-image diskimage that is mounted on my system but I can't find the original file.

Is there a way to reverse engineer the location of the diskimage on file from the mount point (e.g /Volume/my-sparse-image) using command line tools?

I've tried diskutil and mount with no luck.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

One option is to open Disk Utility as it should show the Disk Image on the left hand side and the volume it mounted below it.

Alternatively if you run hdiutil info it will show the image path and mount point (along with other information) of all the disk images mounted on your computer.

share|improve this answer
    
I really want to use the command line because I'm working on a utility script for my coworkers. hdiutil info without any other arguments is answer I needed. –  clscott Aug 31 '10 at 2:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.