Detecting media type CD-R, CD-RW, DVD-RAM?

Hi NG,

does anybody have an idea how to detect the medium,
that is in a CD/DVD-Writer (LG super multiDVD writer
in my case)?

We tried all to analyse all possible flags of ‘sys/cam_devices.h’
but we couldn’t find any unique ‘patterns’ for the different
media types.

Is there any other method, we’ve overseen?

Thanks for any hints!

Karsten.


Karsten P. Hoffmann <karsten.p.hoffmann@web.de>
“I love deadlines. I especially like the whooshing sound
they make as they go flying by.”
[In memoriam Douglas Adams, 1952-2001]