Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2015 00:31:50 -0700
From:      Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: How to recognise different types of optical media from quite a long way away
Message-ID:  <CAOgwaMtzLAV_YncVDB9H9SjRSUu8cxraPxNMz-WxuBeSPdyyUQ@mail.gmail.com>
In-Reply-To: <20151017091048.d89f5e28.freebsd@edvax.de>
References:  <20151017091048.d89f5e28.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 17, 2015 at 12:10 AM, Polytropon <freebsd@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMtzLAV_YncVDB9H9SjRSUu8cxraPxNMz-WxuBeSPdyyUQ>