[comp.sys.mac.programmer] ShutDown Mgr.? Bypass volume flush/eject

rmitchel@bbn.com (Rob Mitchell) (02/15/91)

	    I need to intercept the two jobs the shutdown performs; namely,
	writing DA scraps to disk and flushing/ejecting mounted volumes.  
	Actually, I only need to prevent latter part from happening.  Why?
	Answer: the Macs Pluses are scattered and run off a floppy disk
	not a hardrive and someone would have to go around and insert every
	floppy.

	[1] Has anyone ever written a shutdown procedure and installed it
	    using the ShutDwnInstall call?

	[2] Is your shutdown procedure a regular C function like a filter
	    proc. for ModalDialog or is supposed to be a driver installed
	    in driver control table?

	    Thanks in advance!!!




Rob Mitchell
BBN Systems & Technologies
rmitchel@vax.bbn.com
(617) 873 - 4041

These opinions are mine and mine only.  They do not represent BBNs' opinions.

mneerach@iiic.ethz.ch (Matthias Ulrich Neeracher) (02/16/91)

In article <62736@bbn.BBN.COM>, rmitchel@bbn.com (Rob Mitchell) writes:
>	    I need to intercept the two jobs the shutdown performs; namely,
>	writing DA scraps to disk and flushing/ejecting mounted volumes.  
>	Actually, I only need to prevent latter part from happening.  Why?
>	Answer: the Macs Pluses are scattered and run off a floppy disk
>	not a hardrive and someone would have to go around and insert every
>	floppy.

Why don't you just patch out _Eject. For the situation you describe, this
seems appropriate.

Matthias

-- 
Matthias Neeracher                                   mneerach@iiic.ethz.ch
   "These days, though, you have to be pretty technical before you can 
    even aspire to crudeness." -- William Gibson, _Johnny Mnemonic_