From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 13 13:05:58 2004 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2D6D16A4CE for ; Tue, 13 Apr 2004 13:05:58 -0700 (PDT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F84E43D41 for ; Tue, 13 Apr 2004 13:05:58 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 19159 invoked from network); 13 Apr 2004 20:05:57 -0000 Received: from dsl017-045-168.spk4.dsl.speakeasy.net (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail1.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Apr 2004 20:05:57 -0000 Received: from hydrogen.funkthat.com (wvmzsx@localhost.funkthat.com [127.0.0.1])i3DK5uOE086187; Tue, 13 Apr 2004 13:05:56 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i3DK5sOc086186; Tue, 13 Apr 2004 13:05:54 -0700 (PDT) Date: Tue, 13 Apr 2004 13:05:54 -0700 From: John-Mark Gurney To: Tim Aslat Message-ID: <20040413200554.GO567@funkthat.com> Mail-Followup-To: Tim Aslat , FreeBSD Multimedia References: <20040413125131.04358c77@bofh.spyderweb.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040413125131.04358c77@bofh.spyderweb.com.au> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: FreeBSD Multimedia Subject: Re: Media Detection X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 20:05:58 -0000 Tim Aslat wrote this message on Tue, Apr 13, 2004 at 12:51 +0930: > Currently I'm running FreeBSD 5.2.1-RELEASE-p1 with atapicam and the > burner device is a CDRW as reported by the > kernel boot messages. > > The dmesg gives me this info > > cd0 at ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 16.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > > How would I go about checking the media if it's a blank, non-blank or RW > disk? Take a look at cdrecord -atip... This will probably do what you want.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."