• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
file changes content but ContentModificationDate not changing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: file changes content but ContentModificationDate not changing
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: Re: Timing / Scheduling issues / screensaver
  • Next by Date: Re: file changes content but ContentModificationDate not changing
  • Previous by thread: Re: Timing / Scheduling issues / screensaver
  • Next by thread: Re: file changes content but ContentModificationDate not changing
  • Index(es):
    • Date
    • Thread