Re: Limit on kevent entries?
Re: Limit on kevent entries?
- Subject: Re: Limit on kevent entries?
- From: maurits <email@hidden>
- Date: Thu, 12 Oct 2006 08:32:12 +0200
Amit Singh's got a sample app which uses the same mechanism that Spotlight
uses for spotting filesystem events, i.e. reading from /dev/fsevents. This
is not officially documented of course, but you can look at its
implementation in the Darwin sources.
<http://www.kernelthread.com/software/fslogger/>
neat. This looks very interesting.
Unfortunately, I guess there are a number of reasons that preclude a
deployment of similar techniques in end-user apps, at least the
requirement to run as root, the undocumented API, and the possible
interference with Spotlight. But interesting nevertheless. So I guess
I'll stick with my kqueues solution, with cranked-up RLIMIT_NOFILE.
Thanks to all of you.
Cheers,
maurits
--
http://www.plasticsfuture.org
_______________________________________________
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