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

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


  • Follow-Ups:
    • Re: kevent and disk eject
      • From: Garth Cummings <email@hidden>
  • Prev by Date: Re: mdworker (spotlight) indexing Time Machine volume
  • Next by Date: Re: mdworker (spotlight) indexing Time Machine volume
  • Previous by thread: Re: mdworker (spotlight) indexing Time Machine volume
  • Next by thread: Re: kevent and disk eject
  • Index(es):
    • Date
    • Thread