Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EVFILT_VNODES?



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.