Re: kevent and disk eject
Re: kevent and disk eject
- Subject: Re: kevent and disk eject
- From: Philip Aker <email@hidden>
- Date: Mon, 21 Apr 2008 14:25:20 -0700
On 08-04-21, at 12:44, Garth Cummings 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.
Thanks Garth,
The DiskArbitration.framework headers are very tastefully done. It
looks like one can get by just from the info in them.
Since my post, I've also found that tracking /Volumes in a kevent
entry is a workable substitute for my needs, so problem solved.
Cheers,
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Sent from my SE/30
_______________________________________________
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