[PLUG] Detecting media in cdrom devices

Devendra Laulkar devendralaulkar at yahoo.com
Fri Apr 21 13:16:49 PDT 2006



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

Well, I found out one way. Using ioctl calls. Just
read Documentation/ioctl/cdrom.txt present in the
linux kernel source code.

(googling was giving howto's on burning cd's. finally
greped through the documentation )

-Devendra Laulkar.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the plug-mail mailing list