I am developing a product for the Macintosh platform
that requires I read and write files from a mounted device.
Information on the mounted device is being updated in real time but
I am unable to detect the changes due to the operating system
(Darwin?) caching the contents of the device into a buffer which
remains static until I unmount the drive with a “diskutil unmount”
command. Continually mounting and unmounting the device to see
changes in a file is not desirable.
Is this a local or a remote file system? What APIs exactly are you
using to read/write to the device? What does "being updated" imply?
Is another app updating the file? Your own? What APIs does that app
use? Is the file open by your app while you're trying to read from
it? You're really providing much too little detail about what you're
doing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden