Skip navigation.
 
mlRe: Resource Fork - is this a good use/the right thing to do?
FROM : Michael Ash
DATE : Thu Apr 24 13:44:17 2008

On Thu, Apr 24, 2008 at 12:46 AM, Chris Suter
<<email_removed>> 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

Related mailsAuthorDate
mlResource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 23, 07:21
mlRe: Resource Fork - is this a good use/the right thing to do? Jens Alfke Apr 23, 08:07
mlRe: Resource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 23, 09:41
mlRe: Resource Fork - is this a good use/the right thing to do? Rob Keniger Apr 23, 14:14
mlRe: Resource Fork - is this a good use/the right thing to do? Ken Thomases Apr 23, 14:29
mlRe: Resource Fork - is this a good use/the right thing to do? Matt Gough Apr 23, 15:01
mlRe: Resource Fork - is this a good use/the right thing to do? Adam R. Maxwell Apr 23, 15:41
mlRe: Resource Fork - is this a good use/the right thing to do? Sean McBride Apr 23, 16:12
mlRe: Resource Fork - is this a good use/the right thing to do? Jens Alfke Apr 23, 17:10
mlRe: Resource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 23, 18:05
mlRe: Resource Fork - is this a good use/the right thing to do? John Stiles Apr 23, 18:25
mlRe: Resource Fork - is this a good use/the right thing to do? Gerd Knops Apr 23, 18:41
mlRe: Resource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 23, 18:41
mlRe: Resource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 23, 19:00
mlRe: Resource Fork - is this a good use/the right thing to do? Uli Kusterer Apr 23, 20:14
mlRe: Resource Fork - is this a good use/the right thing to do? Uli Kusterer Apr 23, 20:25
mlRe: Resource Fork - is this a good use/the right thing to do? Chris Williams Apr 23, 21:33
mlRe: Resource Fork - is this a good use/the right thing to do? Mike Fischer Apr 24, 02:59
mlRe: Resource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 24, 03:53
mlRe: Resource Fork - is this a good use/the right thing to do? Chris Suter Apr 24, 04:59
mlRe: Resource Fork - is this a good use/the right thing to do? Jason Stephenson Apr 24, 05:33
mlRe: Resource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 24, 05:55
mlRe: Resource Fork - is this a good use/the right thing to do? Dmitry Markman Apr 24, 06:17
mlRe: Resource Fork - is this a good use/the right thing to do? Graham Cox Apr 24, 06:28
mlRe: Resource Fork - is this a good use/the right thing to do? Chris Suter Apr 24, 06:46
mlRe: Resource Fork - is this a good use/the right thing to do? Graham Cox Apr 24, 06:52
mlRe: Resource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 24, 08:14
mlRe: Resource Fork - is this a good use/the right thing to do? Chris Suter Apr 24, 08:27
mlRe: Resource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 24, 09:16
mlRe: Resource Fork - is this a good use/the right thing to do? Uli Kusterer Apr 24, 11:34
mlRe: Resource Fork - is this a good use/the right thing to do? Uli Kusterer Apr 24, 11:52
mlRe: Resource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 24, 13:08
mlRe: Resource Fork - is this a good use/the right thing to do? Michael Ash Apr 24, 13:44
mlRe: Resource Fork - is this a good use/the right thing to do? glenn andreas Apr 24, 14:41
mlRe: Resource Fork - is this a good use/the right thing to do? Daniel DeCovnick Apr 24, 17:28
mlRe: Resource Fork - is this a good use/the right thing to do? Hamish Allan Apr 24, 17:36
mlRe: Resource Fork - is this a good use/the right thing to do? Bill Monk Apr 24, 20:52
mlRe: Resource Fork - is this a good use/the right thing to do? Scott Ribe Apr 25, 16:49