Subject: CD drive media event
To: None <port-i386@netbsd.org>
From: Girish Wadhwani <gwadh@yahoo.com>
List: port-i386
Date: 08/03/2002 02:34:37
Hello,

Is there any mechanism for a process to be notified
when media is inserted into a cd drive on NetBSD?
Ideally, I would like to have a deamon sleeping and
when media is insert, the kernel would notify the
process. The other option would be for the process to
poll by trying to read form the device periodically
but that would be inefficient.

I looked at the driver docs but didn't find anything
that seemed relevant.

Thanks,
Girish

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com