Re: creating a resource fork and writing raw bytes to it
Re: creating a resource fork and writing raw bytes to it
- Subject: Re: creating a resource fork and writing raw bytes to it
- From: Shawn Erickson <email@hidden>
- Date: Thu, 22 May 2008 07:10:59 -0700
On May 21, 2008, at 11:49 PM, Charles Srstka wrote:
FSRefs are also highly filesystem-dependent, and HFS+, the only file
system (as far as I know) that currently fully supports them, is
showing its age and ready to be replaced, possibly by a file system
like ZFS that wasn't invented by Apple.
I think you are confusing FSSpec and FSRef.
<http://developer.apple.com/documentation/Carbon/Reference/File_Manager/Reference/reference.html#//apple_ref/doc/c_ref/FSRef
>
FSRefs are opaque structures that support referencing files/
directories on any file system supported by Mac OS X. They are well
supported in CoreFoundation, LaunchServices, etc.
<http://developer.apple.com/technotes/tn2002/tn2078.html>
FSRef are meant for use while your process is running (don't attempt
to persist them).
Also most of the "FS" functions that take FSRef are capable of
supporting the file systems support by Mac OS X.
-Shawn
_______________________________________________
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