• 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: Decoding xattrs in an AppleDouble file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Decoding xattrs in an AppleDouble file


  • Subject: Re: Decoding xattrs in an AppleDouble file
  • From: Quinn <email@hidden>
  • Date: Thu, 13 Nov 2008 17:25:04 +0000

At 9:13 -0800 13/11/08, Dave Camp wrote:
Our iPhone UI would like to display some of the meta-data that is being stored in the xattrs (comments, etc). Thus, I was hoping there was an API for taking that blob of data from Entry 9 and turning it back into something useful (ala getxattrs).

AFAICT copyfile is available on iPhone OS. You could just copyfile the AppleDouble to a temporary file and then the attributes from that.


If there is no API for that, is the code that writes Entry 9 posted in the Darwin repository? I would not be opposed to writing some code to extract what we need if I knew the data format...

I believe that the 10.5 and later kernel have this code. However, if you can get copyfile to work I'd definitely recommend that; the fewer copies of this AppleDouble malarkey in existence the better!


S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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


References: 
 >Decoding xattrs in an AppleDouble file (From: Dave Camp <email@hidden>)
 >Re: Decoding xattrs in an AppleDouble file (From: Quinn <email@hidden>)
 >Re: Decoding xattrs in an AppleDouble file (From: Dave Camp <email@hidden>)

  • Prev by Date: Re: Decoding xattrs in an AppleDouble file
  • Previous by thread: Re: Decoding xattrs in an AppleDouble file
  • Index(es):
    • Date
    • Thread