Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 13:05:54 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Tim Aslat <tim@spyderweb.com.au>
Cc:        FreeBSD Multimedia <freebsd-multimedia@freebsd.org>
Subject:   Re: Media Detection
Message-ID:  <20040413200554.GO567@funkthat.com>
In-Reply-To: <20040413125131.04358c77@bofh.spyderweb.com.au>
References:  <20040413125131.04358c77@bofh.spyderweb.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <LITE-ON DVDRW LDW-451S> as reported by the
> kernel boot messages.
> 
> The dmesg gives me this info
> 
> cd0 at ata1 bus 0 target 0 lun 0
> cd0: <LITE-ON DVDRW LDW-451S GSB6> 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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040413200554.GO567>