Re: reading/writing files from mounted device directly
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Cheers, -- M. Uli Kusterer http://www.zathras.de _______________________________________________ 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... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Uli Kusterer