Re: Name of Volume inside a disk image
Re: Name of Volume inside a disk image
- Subject: Re: Name of Volume inside a disk image
- From: Axel Luttgens <email@hidden>
- Date: Sun, 25 Dec 2005 19:11:52 +0100
Luther Fuller wrote:
I've been trying to find a way to get, from a disk image file, the
name of the volume that would mount if it were double-clicked. But I
don't want to have to actually mount the disk. So far, everything I've
tried has failed and I'm beginning to think this may not be possible.
Any ideas?
Quick and dirty idea: did you have a look at the man page for
/usr/bin/hdiutil?
For example, if you are interested in images of HFS/HFS+ volumes, you
could try to parse the output of:
/usr/bin/hdiutil hfsanalyze /path/to/image
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden