file changes content but ContentModificationDate not changing
file changes content but ContentModificationDate not changing
- Subject: file changes content but ContentModificationDate not changing
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 05 Nov 2014 20:13:14 +0700
I am trying to observe changes of a file using dispatch_source_create(DISPATCH_SOURCE_TYPE_VNODE).
But it does not work.
The problem: the observed file (/var/db/ntp.drift) gets updated (about every hour) by a root-process (ntpd),
Although the content of the file changes (I can open it in TextEdit and see changed values) the ContentModificationDate or AttributeModificationDate does often not change for days.
Is this allowed to happen? Or a bug?
Any way to observe changes (except from polling, which I am trying to avoid)?
Gerriet.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden