Subject: how do I name cd drives?
To: None <netbsd-help@netbsd.org>
From: Russell McManus <russell_mcmanus@yahoo.com>
List: netbsd-help
Date: 09/22/2002 14:29:50
I've got a scsi cd drive attached to my laptop, that I'd like to use.
How does one name this drive?  For example, xcdplayer has a -device
option, but I can't figure out what to pass to the application.

xcdplayer works fine with the cd drive installed in the laptop.
ktruss doesn't seem to help, there are no open() system calls in the
/dev tree.

I would have thought that /dev/cd1 or /dev/rcd1 or cd1 or rcd1 would
have been the right thing, but no joy.

Here is the dmesg output:

cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-1702BC, \134377\134377\134377\134377, 1564> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
biomask efcd netmask efcd ttymask ffcf
cd1 at scsibus0 target 3 lun 0: <TOSHIBA, CD-ROM XM-5701TA, 3136> SCSI2 5/cdrom removable

Any ideas?

-russ