Subject: cd-rom media-change events
To: None <firstname.lastname@example.org>
From: David Young <email@example.com>
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.
David Young OJC Technologies
firstname.lastname@example.org Urbana, IL * (217) 278-3933