kevent and disk eject
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi, Thanks for any comments, Philip Aker echo astwta@lvpc.dslh@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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Philip Aker