• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
What is the best way to determine what type of removable media is inserted? (ie: DMG)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is the best way to determine what type of removable media is inserted? (ie: DMG)


  • Subject: What is the best way to determine what type of removable media is inserted? (ie: DMG)
  • From: Robert Monaghan <email@hidden>
  • Date: Sat, 7 Nov 2009 09:17:37 -0800

Hi Everyone,

Is there a way to determine if a mounted "removable" volume is a DMG or not? I need to distinguish between a USB Stick and a DMG in my app. I have played with statfs(), but I can't seem to figure out a tangible/concrete difference.

How does one figure out what type of removable volume is mounted?

Thanks!

bob.

_______________________________________________

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

  • Prev by Date: Re: Core-Data : how to merge two contexts ?
  • Next by Date: Re: What is the best way to determine what type of removable media is inserted? (ie: DMG)
  • Previous by thread: Re: popup menu entries
  • Next by thread: Re: What is the best way to determine what type of removable media is inserted? (ie: DMG)
  • Index(es):
    • Date
    • Thread