Re: What is the best way to determine what type of removable media is inserted? (ie: DMG)
Re: What is the best way to determine what type of removable media is inserted? (ie: DMG)
- Subject: Re: What is the best way to determine what type of removable media is inserted? (ie: DMG)
- From: Greg Guerin <email@hidden>
- Date: Sat, 7 Nov 2009 10:49:17 -0700
Robert Monaghan wrote:
How does one figure out what type of removable volume is mounted?
Use the 'hdiutil' command to get info on dmg's. For example:
hdiutil info
or:
hdiutil info -plist
You can also correlate its output to statfs()-returned data.
-- GG
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden