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