[OpenAFS] OpenAFS with Mac OS X

Chaskiel M Grundman cg2v+@andrew.cmu.edu
Tue, 25 Sep 2001 15:39:26 -0400 (EDT)


Excerpts from internet.computing.openafs.info: 25-Sep-101 Re: [OpenAFS]
OpenAFS with .. by Jim Rees@umich.edu 
> I think it would be nice to detect this situation and correct it in the
> cache manager.  I think the desired behavior would be to detect when a
> stat() is being done on an entry in /afs, and return either the current stat
> data without verifying it, or completely fake stat data.  This whole thing
> would be made optional via yet another 'fs' option.
We have a good idea of how to do it, based on how the old NeXT code worked:

- the fake inode status only applies to mountpoints (avc.mvstat == 2) in
non-local cells (avc.fid.cell != 1)
- inodes with faked status information have a tag that identifies them
(avc.states has the CLied bit set)
- the real inode status is fetched in FindDCache/GetDCache if CLied is set


The problem is that the finder doesn't just stat things. If they turn
out to be directories, it *descends* into them, looking for icons and
stuff, so this approach won't help MacOS X