How to recognise different types of optical media from quite a long way away
Mehmet Erol Sanliturk
m.e.sanliturk at gmail.com
Sat Oct 17 07:31:51 UTC 2015
On Sat, Oct 17, 2015 at 12:10 AM, Polytropon <freebsd at edvax.de> wrote:
> Can someone suggest a convenient way to identify optical media
> when inserted into an optical drive? I have no problem with
> using several tools or grepping through verbose output. What
> I need is something like:
>
> This media is a CD / CD-R / CD-RW / DVD / DVD-R /
> DVD+R / DVD+RW / DVD-RW / DVD-RAM.
>
> Of course the ability to read / write the media depends on
> of the drive, so I'm using a writer (because I assume that
> a manufactured DVD, DVD-R or DVD+RW don't matter much to
> a reader). I know I can use tools like "cdrecord -prcap"
> to obtain a list of the abilities of the drive, but I'm
> more interested in the media. :-)
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> _______________________________________________
>
>
I think , if you study K3B sources , there you will find how it is
detected media types , because , it is detecting media type and performing
recording with respect to media type .
Mehmet Erol Sanliturk
More information about the freebsd-questions
mailing list