Re: kevent and disk eject
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