access time changes vs. kevent observer?
access time changes vs. kevent observer?
- Subject: access time changes vs. kevent observer?
- From: Jim Correia <email@hidden>
- Date: Wed, 14 May 2008 11:35:53 -0400
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