Re: reading/writing files from mounted device directly
Re: reading/writing files from mounted device directly
- Subject: Re: reading/writing files from mounted device directly
- From: Uli Kusterer <email@hidden>
- Date: Tue, 29 Aug 2006 23:05:32 +0200
Am 29.08.2006 um 22:10 schrieb Dave Hackenyos:
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.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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