kevent and disk eject
kevent and disk eject
- Subject: kevent and disk eject
- From: Philip Aker <email@hidden>
- Date: Sat, 19 Apr 2008 05:29:59 -0700
Hi,
I'm new to kqueue/kevent and currently using them in a background
Carbon helper application with the goal of sending notifications to a
Cocoa app. I have some a simple folder detection code working. For
example if one of the target folders is renamed or deleted, one or
another of the fflags is received correctly and I forward the
notification.
However, if the folder is on a USB or Firewire disk and I eject the
disk, I don't seem to be getting any message.
Is there a set of input conditions that will allow me to detect the
eject from kqueue?
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.
Thanks for any comments,
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