🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #25467

Detecting Disk Ejection (repost)

#25467
From: Tom Carstensen
Date: Fri, 19 Feb 1988 00:31
17 lines
1171 bytes
It there a way to detect when a disk has been ejected
via the <cmd-shift-1/2>, rather than continually poll the
drives to determine what volumes are on-line (in the machine)?

I can detect the keyboard cmd-shift-1/2 event, but there are
other ways to eject the disk (ie the pin-hole in the drive
itself).

Any answers?

:------------------------------------------------------------:
: Tom Carstensen              Usenet: tomc@mntgfx.MENTOR.COM :
: Mentor Graphics             GEnie:  XPC23637               :
:                                                            :
:     . . . and this shall be Max Headroom's finest hour.    :
:                                       - Max Headroom       :
:------------------------------------------------------------:
Technical Details
Message-ID: <1988Feb18.163133.162@mntgfx.mentor.com>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ll-xn!mit-eddie!uw-beaver!tektronix!sequent!mntgfx!tomc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ll-xn!mit-eddie!uw-beaver!tektronix!sequent!mntgfx!tomc
From: tomc@mntgfx.mentor.com (Tom Carstensen)
Newsgroups: comp.sys.mac
Subject: Detecting Disk Ejection (repost)
Message-ID: <1988Feb18.163133.162@mntgfx.mentor.com>
Date: 19 Feb 88 00:31:30 GMT
Organization: Mentor Graphics Corporation, Beaverton Oregon
Lines: 17