• 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: kevent and disk eject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kevent and disk eject


  • Subject: Re: kevent and disk eject
  • From: Garth Cummings <email@hidden>
  • Date: Mon, 21 Apr 2008 12:44:04 -0700

Hi Philip,

On Apr 19, 2008, at 5:29 AM, Philip Aker wrote:

I know I can use volume events in Carbon for disk insertion and eject but had hoped to keep things at the same level and eventually move this background app down to a CFRunLoop tool.


DiskArbitration is the way to handle disk events at the CoreServices or UNIX layers.

It's somewhat light in the documentation department but the headers in DiskArbitration.framework should get you going. The framework is also open source.

HTH,
--gc
____________________________________________________________________
Garth Cummings					 email@hidden
Sr. Software Engineer
Apple Developer Technical Support

<http://developer.apple.com/technicalsupport>

WWDC 2008 • June 9-13 • Moscone West • San Francisco, CA
<http://developer.apple.com/wwdc/>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: kevent and disk eject
      • From: Philip Aker <email@hidden>
References: 
 >kevent and disk eject (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: mach-o section question
  • Next by Date: Re: mach-o section question
  • Previous by thread: kevent and disk eject
  • Next by thread: Re: kevent and disk eject
  • Index(es):
    • Date
    • Thread