access time changes vs. kevent observer?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Which is the correct case? Jim _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. 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? This email sent to site_archiver@lists.apple.com
participants (1)
-
Jim Correia