From owner-freebsd-questions@FreeBSD.ORG Sun Jul 31 13:02:18 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1044D16A41F for ; Sun, 31 Jul 2005 13:02:18 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C40143D4C for ; Sun, 31 Jul 2005 13:02:15 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a128.otenet.gr [212.205.215.128]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with ESMTP id j6VD28Pq003766; Sun, 31 Jul 2005 16:02:09 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.4/8.13.4) with ESMTP id j6VD27dX048799; Sun, 31 Jul 2005 16:02:07 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.4/8.13.4/Submit) id j6VD25Rh048798; Sun, 31 Jul 2005 16:02:05 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 31 Jul 2005 16:02:05 +0300 From: Giorgos Keramidas To: Fabian Keil Message-ID: <20050731130205.GC48636@gothmog.gr> References: <200507272225.07899.freebsdbeni@spymac.com> <20050728084834.X56124@wonkity.com> <20050730203421.65a4b5d9@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050730203421.65a4b5d9@localhost> X-Mailman-Approved-At: Sun, 31 Jul 2005 13:37:03 +0000 Cc: freebsd-questions@freebsd.org, FreeBsdBeni Subject: Re: Reading the volume-id/label of a cd/dvd ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2005 13:02:18 -0000 On 2005-07-30 20:34, Fabian Keil wrote: >Warren Block 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