Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reading/writing files from mounted device directly



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: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >reading/writing files from mounted device directly (From: "Dave Hackenyos" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.