Date: Sun, 31 Jul 2005 16:02:05 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Fabian Keil <freebsd-listen@fabiankeil.de> Cc: freebsd-questions@freebsd.org, FreeBsdBeni <freebsdbeni@spymac.com> Subject: Re: Reading the volume-id/label of a cd/dvd ? Message-ID: <20050731130205.GC48636@gothmog.gr> In-Reply-To: <20050730203421.65a4b5d9@localhost> References: <200507272225.07899.freebsdbeni@spymac.com> <20050728084834.X56124@wonkity.com> <20050730203421.65a4b5d9@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-07-30 20:34, Fabian Keil <freebsd-listen@fabiankeil.de> wrote: >Warren Block <wblock@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050731130205.GC48636>