Re: Bookmark alias files v. Finder alias files
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