I have CD-RW configured with ide-scsi option. With devfs mounted it does 
not show up in /dev/cdroms until you put in a CD for the first time.  It 
means, that no /dev/cdrom* link is setup at startup which is sort of 
bad, as you cannot use it as normal CD-ROM.

This differs from IDE CD-ROMs that always exist and link is always 
setup. Compare:


{pts/1}% ll /dev/cdroms/
����� 0
lr-xr-xr-x    1 root     root           33 ���  1  1970 cdrom0 -> 
../ide/host0/bus1/target0/lun0/cd
{pts/1}% cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 04 Lun: 00
   Vendor: iomega   Model: jaz 2GB          Rev: E.17
   Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
   Vendor: PHILIPS  Model: CDD3610 CD-R/RW  Rev: 3.09
   Type:   CD-ROM                           ANSI SCSI revision: 02
{pts/1}% ll /dev/scsi/host1/bus0/target0/lun0
����� 0

now put CD into CD-RW and
{pts/1}% ll /dev/scsi/host1/bus0/target0/lun0
����� 0
brw-rw-rw-    1 root     root      11,   0 ���  1  1970 cd{pts/1}% ll 
/dev/cdroms
����� 0
lr-xr-xr-x    1 root     root           33 ���  1  1970 cdrom0 -> 
../ide/host0/bus1/target0/lun0/cd
lr-xr-xr-x    1 root     root           34 ���  1  1970 cdrom1 -> 
../scsi/host1/bus0/target0/lun0/cd

this is now persistent, even when you remove CD you still have 
/dev/cdrom/cdrom1 pointing to correct device.

-andrej



Reply via email to