[comp.sys.mac.programmer] Unmount Floppy under MF

alan@metasoft.UUCP (Alan Epstein) (03/26/88)

a querie for FileMgr fans:

TN180 says that under system 4.2/6.0, calls to UnmountVol() can
return error fBsyErr (-47), since, especially under Multifinder,
files on this volume may be open/busy from another application.
this is definitely the case with DeskTop under multifinder.
TN180 goes on to say that it knows about the DeskTop file being
open, and if that is the only file that is open, it unmounts
and DOESN'T return an error.

unfortunately i have not found this to be the case. i reduced
my code so that it now accepts a disk insert event, and does
nothing but Unmounts the floppy, and i still get the fBsyErr.
i can see the disk appear on the finder desktop, and after
unmounting (with this error returned), i see it grayed, but
still there.

what else is there to be done?


PLEASE SEND REPLIES VIA E-MAIL. i'll post a summary if i get
interesting responses.

thanks.

-alan      alan%metasoft@bbn.com  ||  {bbn,uunet}!metasoft!alan
                                  ||   alan@metasoft.uucp