• 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: Resource Fork - is this a good use/the right thing to do?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource Fork - is this a good use/the right thing to do?


  • Subject: Re: Resource Fork - is this a good use/the right thing to do?
  • From: "Michael Ash" <email@hidden>
  • Date: Thu, 24 Apr 2008 07:44:17 -0400

On Thu, Apr 24, 2008 at 12:46 AM, Chris Suter
<email@hidden> wrote:
>
>  On 24/04/2008, at 2:28 PM, Graham Cox wrote:
>
>
> >
> > On 24 Apr 2008, at 12:59 pm, Chris Suter wrote:
> >
> > > The limits for resource forks are the same as for data forks
> > >
> >
> > Not true - the ResourceMap contains some 24-bit pointers, or at least it
> used to, as well as some 16-bit length fields as well. Unless these have
> been changed (possible I guess, I don't know) these will bite you before the
> file fork limitations do.
> >
>
>  I'm sorry, but it is true. We're not talking about ResourceMaps, we're
> talking about resource forks. ResourceMaps are just one thing that you might
> store in a resource fork but I don't know of any reason why you can't store
> anything you like in them and the limits for a resource fork are the same as
> those for a data fork.

It's technically true that you can put arbitrary data in the resource
fork, but it's also a bad idea.

Various software such as the Finder will write to the resource forks
of arbitrary files and in doing so will assume that either the
resource fork doesn't exist or is in the standard resource format. If
you store data in a different format then this software will either
corrupt it or disable these features. Either way the user is left
holding the bag.

Mike
_______________________________________________

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

References: 
 >Resource Fork - is this a good use/the right thing to do? (From: Daniel DeCovnick <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Jens Alfke <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Daniel DeCovnick <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Uli Kusterer <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Daniel DeCovnick <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Chris Suter <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Graham Cox <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Resource Fork - is this a good use/the right thing to do?
  • Next by Date: How to get quick succession mouseDown events
  • Previous by thread: Re: Resource Fork - is this a good use/the right thing to do?
  • Next by thread: Re: Resource Fork - is this a good use/the right thing to do?
  • Index(es):
    • Date
    • Thread