Subject: Re: CD-RW drive problems.
To: None <netbsd-help@NetBSD.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 10/07/2003 19:47:25
On Tue, 7 Oct 2003, Michal Pasternak <michal@pasternak.w.lub.pl> wrote:
>
> I'd rather scan SCSI bus each time I burn the CD, than search for... was
> it"cd0", "acd0", "rwcd0c" or ... ? Let's check dmesg... not there,
> overriden.../var/run/dmesg.boot... no such file? Ah, it's some Linux...
> what now... let's try each one...
>
> - compare it to "cdrecord -scanbus" ;)
My answer to that:
$ ls -l /dev/cdrom
lrwxr-xr-x 1 root wheel 9 Nov 18 2000 /dev/cdrom -> /dev/cd5a
(also useful for printer, modem, et. al.)
and
$ command -v cdwrite
/usr/local/bin/cdwrite
$ cat `command -v cdwrite`
cdrecord -v dev=/dev/rcd0d $1
If I can't remember what I did last time, which happens more often than
I'd like, "ls /usr/local/bin" usually provides the hint I need.
--jkl