[PLUG] Detecting media in cdrom devices

devendralaulkar at gmail.com devendralaulkar at gmail.com
Sat Apr 22 01:34:29 IST 2006

Hello all,

How can I find out the presence/state of media in a cdrom/dvd drive ? 

Basically, when what I want to do is this : Whenever a blank CD-R/CD-RW/ DVD-R 
etc is inserted into the drive, a notification must be passed on to my 

Is there some /proc entry that I can be polled or some application that does 
the same? 

-Devendra Laulkar.

More information about the Plug-mail mailing list