• 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
File saving -- how is it done?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File saving -- how is it done?


  • Subject: File saving -- how is it done?
  • From: "Ian Archer" <email@hidden>
  • Date: Thu, 26 Apr 2007 17:00:26 -0400

I've noticed that some mac applications do file saves through what
appears to be a write'n'swap system.  One can observe something like:

/Users/name/.TemporaryItems/folders.501/TemporaryItems/(A Document
Being Saved By OmniGraffle)/test.graffle

Although at least TextEdit and probably many others do this.  My
assumption is that there is some function call or series of function
calls which accomplish this.  I can't tell whether this file is
written to, then replaced with the destination file, or whether this
is some hard link that is written to.

I am curious:
a) what is the high level call (if any) which generates this outcome
b) what are the low level commands which implement this functionality.

Thanks for any help you can provide!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: File saving -- how is it done?
      • From: Laurence Harris <email@hidden>
  • Prev by Date: Re: Mount Point from BSDName / IORegistry
  • Next by Date: Re: File saving -- how is it done?
  • Previous by thread: Re: Mount Point from BSDName / IORegistry
  • Next by thread: Re: File saving -- how is it done?
  • Index(es):
    • Date
    • Thread