Subject: cd-rom media-change events
To: None <tech-kern@netbsd.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 03/22/2003 21:06:26
I would like to start a timer when the user presses the CD-ROM eject
button, and then reboot the system when the timer expires or the CD-ROM
tray is replaced, whichever is sooner. Can I use poll/select/kqueue to
listen for these media-change events? A quick scan of the SCSI/ATAPI
code tells me "no," but I am still hopeful.

Ditto floppy drives.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933