• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: reading/writing files from mounted device directly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >reading/writing files from mounted device directly (From: "Dave Hackenyos" <email@hidden>)

  • Prev by Date: Re: reading/writing files from mounted device directly
  • Next by Date: MacOS-X Aqua Port of Perl-Tk?
  • Previous by thread: Re: reading/writing files from mounted device directly
  • Next by thread: Re: reading/writing files from mounted device directly
  • Index(es):
    • Date
    • Thread