• 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
Re: EVFILT_VNODES?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EVFILT_VNODES?


  • Subject: Re: EVFILT_VNODES?
  • From: Sam Vaughan <email@hidden>
  • Date: Wed, 25 May 2005 10:25:50 +1000

Hi Hamish,

I think you can receive notifications on vnode operations using the kauth API, which is new in Tiger. I just searched developer.apple.com for "kauth" and didn't turn up much, but there looks to be some meat in sys/kauth.h.

Sam

On 25/05/2005, at 5:04 AM, Hamish Allan wrote:

Hi all,

As I understand it, for the contents of a directory to be monitored
using a kqueue, it must be open (at least O_EVTONLY).

Therefore, given that the mds process detects whenever any file on
the entire filesystem is written, it seems doubtful that it uses kqueue.


Can anyone tell me how it works? Or could anyone recommend an
efficient method for determining when a file in a given directory or
any of its subdirectories changes, for a potentially large number of
subdirectories?

Thanks,
Hamish

_______________________________________________ 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: EVFILT_VNODES?
      • From: Sam Vaughan <email@hidden>
  • Prev by Date: EVFILT_VNODES?
  • Next by Date: Header issues?
  • Previous by thread: EVFILT_VNODES?
  • Next by thread: Re: EVFILT_VNODES?
  • Index(es):
    • Date
    • Thread