Re: access time changes vs. kevent observer?
Re: access time changes vs. kevent observer?
- Subject: Re: access time changes vs. kevent observer?
- From: Dave Zarzycki <email@hidden>
- Date: Wed, 14 May 2008 09:33:13 -0700
Jim,
I filed a bug a few months ago in this regard:
5435816 Add a NOTE_ATIME option to EVFILT_VNODE events
For now, you'll just need to ignore some spurious wakeup events.
Cheers,
davez
On May 14, 2008, at 8:35 AM, Jim Correia wrote:
I have a file that I am observing with kevents. I am observing with
the NOTE_ATTRIB flag set. (For this test case, I am using an HFS+
disk on Leopard.)
Most things which bump the access time of the file do not cause my
kevent observer to fire. (For example, `cat filename` bumps the
access time, doesn't fire the kevent.)
Some things, however, do. Any operation which causes the custom icon
to be read from the resource fork (by opening the file in any Mac OS
X GUI application.) bumps the access date and fires a kevent.
Which is the correct case?
I'm interested in many of the changes that come along with
NOTE_ATTRIB, but I don't really care about the access date. Any
advice for ignoring events for which only the access date change?
Jim
_______________________________________________
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
_______________________________________________
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