Reading the volume-id/label of a cd/dvd ?
Giorgos Keramidas
keramida at ceid.upatras.gr
Sun Jul 31 13:02:18 GMT 2005
On 2005-07-30 20:34, Fabian Keil <freebsd-listen at fabiankeil.de> wrote:
>Warren Block <wblock at wonkity.com> wrote:
>>On Wed, 27 Jul 2005, FreeBsdBeni wrote:
>>> Is there an easy way to get to know the volume id or disclabel of a cd or
>>> dvd ? Mounting the cd/dvd just gives me the contents of the disc, but not its
>>> "name".
>>> In k3b one can ask the info about a disc and get all the info about the
>>> inserted cd/dvd (disc type, tracks, sessions,...). But how do i get that info
>>> without k3b ? Is there an easy way/solution ?
>>
>> cdrecord can get some info from a CD; see the -toc and -atip options.
>
> To show the volume id one can use isoinfo, it's part of cdrtools as well.
Some information is printed by cdcontrol too?
# gothmog:/home/giorgos$ cdcontrol cdid
# CDID=021dc601
# gothmog:/home/giorgos$ cdcontrol info
# Starting track = 1, ending track = 1, TOC size = 18 bytes
# track start duration block length type
# -------------------------------------------------
# 1 0:02.00 127:02.46 0 571696 data
# 170 127:04.46 - 571696 - -
We could extend cdcontrol to display other pieces of information too, if
necessary I guess.
- Giorgos
More information about the freebsd-questions
mailing list