Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!bloom-beacon!athena.mit.edu!samalone From: samalone@athena.mit.edu (Stuart A. Malone) Newsgroups: comp.sys.mac.programmer Subject: Patching "Please insert the disk..." Message-ID: <4228@bloom-beacon.MIT.EDU> Date: 1 Apr 88 14:18:05 GMT Sender: daemon@bloom-beacon.MIT.EDU Reply-To: samalone@athena.mit.edu (Stuart A. Malone) Organization: Massachusetts Institute of Technology Lines: 10 Summary: What code do I patch? I'm trying to write an INIT that makes the Mac eject the disk in the least recently used drive when it needs an offline volume. I know how to patch into the Sony driver, so I can record when each drive was last used, but how do I patch the file manager to call my clever routine when it needs an offline volume? I'm sure that somewhere there is a file manager routine that says "make sure this volume is online", but it doesn't seem to correspond to any of the documented traps. (I just pray that the calls to the routine aren't in ROM, or I'm sunk...) --Stuart A. Malone