OpenAFS CVS Commit: openafs/src/afs/DARWIN by shadow
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Thu, 15 May 2003 11:09:35 EDT
Update of /cvs/openafs/src/afs/DARWIN
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-stable-1.2/openafs/src/afs/DARWIN
Modified Files:
Tag: openafs-stable-1_2_x
osi_vfsops.c osi_vnodeops.c
Log Message:
DELTA STABLE12-darwin-mount-and-disk-arbitration-enhancements-20030515
AUTHOR akosut@cs.stanford.edu
FIXES 1363
* Allow AFS to be mounted multiple times, each mountpoint with its
own root volume. This allows usage similar to the Windows client,
e.g., mounting a drive that contains only the user's home
directory. Our users find this much easier to work with than
having to navigate the entire AFS tree in the Finder or open/save
dialog.
* Have afsd register /afs with the DiskArbitration system
when mounting it. This means that the root afs volume shows up in
the Finder immediately, and prevents the Finder from getting
confused by additional AFS volumes later on.
* Add a "-nomount" option to afsd, which prevents afsd from
mounting /afs. We use this by default on our Mac OS X client, so
that AFS doesn't show up in the interface at all unless the user
explicitly asks for an AFS volume to be mounted. This is
especially handy for portable or remote users who don't always
have a network connection, since there isn't an AFS filesystem
around to hang the Finder if the AFS servers can't be contacted
(the cache manager may still hang, but since there are no AFS
volumes mounted, the rest of the OS doesn't notice).
* Make it so that /afs (mounted by afsd) will not unmount unless
MNT_FORCE is given. This prevents the user from accidentally
ejecting /afs in the Finder, and also works around a DiskArb bug in
Mac OS X (possibly fixed in 10.2) where autodiskmount would sometimes
unmount /afs when logging out, even though it's marked as
non-ejectable.
--- DELTA config for openafs-stable-1_2_x follows ---
STABLE12-darwin-mount-and-disk-arbitration-enhancements-20030515 openafs/src/afs/DARWIN/osi_vfsops.c 1.4.2.1 1.4.2.2
STABLE12-darwin-mount-and-disk-arbitration-enhancements-20030515 openafs/src/afs/DARWIN/osi_vnodeops.c 1.4.2.6 1.4.2.7