| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Hello,
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 (
Using the IOKit to obtain a handle to the device and then using POSIX funtions
to open/read/write does allow access to the raw disk, but I can only access
bytes. Reading the entire device and programmatically reproducing the file
structure to locate the file I am interested in reading is prohibitive.
Changing a file and writing the entire contents of the drive back into it would
take 30 seconds or more, also bad. I need a way to read and write to the file
system on the mounted device not just access the bytes.
Is there a no-cache option on mounting what is effectively a USB storage
device? Or how do I bypass the cached buffer?
Please let me know if there is a more appropriate forum for asking this
question. Thank you for your time, Dave Hackenyos email@hidden This message has been scanned by Symantec Mail Security for SMTP. |
_______________________________________________ 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
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.