[comp.sys.mac.programmer] Unmounting AppleShare Volume

jmw@tasis.utas.oz (John Williams) (05/16/89)

Is there any way to unmount (eject?) an AppleShare volume from within an 
application? I have tried UnmountVol, which returns -47 (file is busy) and
Eject, which returns noErr but doesn't do anything. The parameter block
versions of these calls do exactly the same.

The end result is to be able to limit logins to the file server to those
people who have booked a session in our own lab. At the moment the only way
we can prevent people logging in from other AppleShare networks is by
disconnecting ourselves. Perhaps others have had the same problem and have
come up with other solutions. If so we would like to hear from you.

John M Williams
---------------------------------------------------------------------------
ACSnet: jmw@tasis.utas.oz	ARPA: 	jmw%tasis.utas.oz@uunet.uu.net
UUCP: 	{enea,hplabs,mcvax,uunet,ukc}!munnari!tasis.utas.oz!jmw
Elec Eng & Comp Sci Dept, Uni of Tasmania, 
Box 252C GPO Hobart, Tasmania, AUSTRALIA 7001