From owner-freebsd-questions Tue Apr 20 16: 7: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 2E5DC14C08 for ; Tue, 20 Apr 1999 16:07:03 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-10.mail.demon.net with smtp (Exim 2.12 #1) id 10ZjZC-0003rQ-0A; Tue, 20 Apr 1999 23:04:35 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id AAA00404; Wed, 21 Apr 1999 00:04:28 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id AAA00750; Wed, 21 Apr 1999 00:00:32 +0100 (BST) (envelope-from marko) Date: Wed, 21 Apr 1999 00:00:32 +0100 From: Mark Ovens To: Doug White Cc: questions@freebsd.org Subject: Re: Reading the "Volume Label" of a CD Message-ID: <19990421000032.E252@marder-1> References: <371C5C88.63C40A85@uk.radan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Doug White on Tue, Apr 20, 1999 at 02:27:56PM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 20, 1999 at 02:27:56PM -0700, Doug White wrote: > On Tue, 20 Apr 1999, Mark Ovens wrote: > > > Is it possible to read the Volume Label of a CD-ROM from the command > > line or shell script?. If not from the command line, then in a C > > program? > > You might get cdcontrol(1) to tell you something. > Thanks for the suggestion. Alas it doesn't give the info I need (I've written a shell script and I want to check that the correct CD is in the drive, rather than relying on the user to put in the correct one). > Doug White > Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve > http://gladstone.uoregon.edu/~dwhite | www.freebsd.org > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message