• 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
Re: External Drives Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: External Drives Questions


  • Subject: Re: External Drives Questions
  • From: Fred Baker <email@hidden>
  • Date: Mon, 29 Jun 2009 11:08:11 -0700

On Jun 29, 2009, at 5:17 AM, Ammar Ibrahim wrote:

How can I do the following in Cocoa:
1- Get the list of mounted drives?
2- Get the serial number of the mounted drive/disk

Since serial numbers tend to be associated more with devices rather than volumes, your best bet would be to use IOKit to get this information. Like Disk Arbitration, IOKit can provide notifications when a volume appears or disappears, or its status changes.


_______________________________________________

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


References: 
 >External Drives Questions (From: Ammar Ibrahim <email@hidden>)

  • Prev by Date: NSURL URLWithString:relativeToURL: generates an extra /
  • Next by Date: Re: How to get a fully transparent hit-testable window?
  • Previous by thread: External Drives Questions
  • Next by thread: Re: External Drives Questions
  • Index(es):
    • Date
    • Thread