[OpenAFS-port-darwin] Resource / Data Forks

Alexei Kosut akosut@cs.stanford.edu
Mon, 19 May 2003 20:57:33 -0500


On Monday, May 19, 2003, at 06:21  PM, David Botsch wrote:
> In my experience, it handles resource forks just fine, thought, not in 
> separate
> directories.
>
> Instead, the resource fork for filename ends up in a file called 
> ._filename
>
> I don't know if this is an afs oddity or an OS X oddity.

Mac OS X is responsible for this.  The OpenAFS client knows nothing 
about resource forks or Finder metadata.  On filesystems that don't 
support multiple forks (like AFS, FAT, Windows fileshares, WebDAV, 
etc...), Mac OS X stores the non-data-fork data (in AppleDouble format) 
in separate files, as you note.

It's slightly outdated, but there's some good high-level information 
about how Mac OS X handles resource forks on a number of different 
filesystems at <http://www.mit.edu/people/wsanchez/papers/USENIX_2000/>

-- 
Alexei Kosut <akosut@cs.stanford.edu> <http://cs.stanford.edu/~akosut/>