[prev in list] [next in list] [prev in thread] [next in thread] 

List:       plug-mail
Subject:    [PLUG] Detecting media in cdrom devices
From:       devendralaulkar () yahoo ! com (Devendra Laulkar)
Date:       2006-04-21 13:17:27
Message-ID: 20060421201649.13244.qmail () web53003 ! mail ! yahoo ! com
[Download RAW message or body]



> 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 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic