[OpenAFS-port-darwin] Disk Arbitration and OpenAFS

Alexei Kosut akosut@cs.stanford.edu
Mon, 14 Apr 2003 12:56:09 -0700


On Fri, Apr 11, 2003 at 09:25:01AM +0200, Sebastian Hagedorn wrote:
> I just experienced an issue with an application that's caused by OpenAFS. 
> I'm running 1.2.8 under OS X 10.2.4. Calling "disktool -r" to referesh disk 
> arbitration causes diskutil to crash afterwards:

OpenAFS has a few issues with the Disk Arbitration sytem.  Because
OpenAFS doesn't register the AFS mountpoint with DiskArb, it gets a
little confused when it notices it later.  It gets especially confused
when it's trying to do something else at the same time.

One way to fix this is to make sure DiskArb knows about AFS before it
notices it on its own.  I believe if you put "diskutil -r" in the
OpenAFS StartupItems script (it needs to be done after AFS is mounted,
but before the Finder launches), it may help.

My Mac OS X integration patches
(http://rescomp.stanford.edu/~akosut/macosx/openafs/) will make afsd
register with DiskArb when it mounts /afs.  I've found that this
most of the problems like the one you've noted.

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