• 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: Bookmark alias files v. Finder alias files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bookmark alias files v. Finder alias files


  • Subject: Re: Bookmark alias files v. Finder alias files
  • From: Michael Hall <email@hidden>
  • Date: Sat, 14 Apr 2012 08:28:20 -0500

On Apr 14, 2012, at 7:11 AM, Shane Stanley wrote:

> Thanks Ken and Michael. So the Finder-generated alias has a ~96KB resource fork, and the bookmark-generated one has a 48KB resource fork. On comparing them, it looks like the first ~48KB are identical apart from the first and last few bytes -- and the second 48KB of the Finder-generated one is also the same as the first 48KB except for small sections at the beginning and end.

I did a quick google out of curiosity and there doesn't appear to be much available anymore to handle actually looking at or working with resource forks. If you can examine contents you could scan for the AppleEvent id's 'alis' or 'bmrk'. You should of course also see a file name in there somewhere. I'm not sure what other overhead there might be, length's maybe?
If I had to guess the Finder is writing copies to both the resource and data forks. Are you sure the ~96KB isn't both forks? I can't think of a reason to write it twice to the same fork. But I don't think that I ever dissected one.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bookmark alias files v. Finder alias files
      • From: Sean McBride <email@hidden>
    • Re: Bookmark alias files v. Finder alias files
      • From: Shane Stanley <email@hidden>
References: 
 >Bookmark alias files v. Finder alias files (From: Shane Stanley <email@hidden>)
 >Re: Bookmark alias files v. Finder alias files (From: Ken Thomases <email@hidden>)
 >Re: Bookmark alias files v. Finder alias files (From: Shane Stanley <email@hidden>)
 >Re: Bookmark alias files v. Finder alias files (From: Ken Thomases <email@hidden>)
 >Re: Bookmark alias files v. Finder alias files (From: Michael Hall <email@hidden>)
 >Re: Bookmark alias files v. Finder alias files (From: Shane Stanley <email@hidden>)

  • Prev by Date: Xcode warns about missing protocol definition, even though @protocol is used
  • Next by Date: Re: Bookmark alias files v. Finder alias files
  • Previous by thread: Re: Bookmark alias files v. Finder alias files
  • Next by thread: Re: Bookmark alias files v. Finder alias files
  • Index(es):
    • Date
    • Thread