I am running ROCK Linux 1.3.11.
I have compiled 2.4.4 with the SCSI generic stuff to run cdrecord.
I have the following lines in /etc/devfsd.conf
LOOKUP .* MODLOAD
CREATE /dev/scsi/host0/bus0/target0/lun0/cd CFUNCTION GLOBAL symlink sg0 cd
these lines (among others) in /etc/modules.conf (a scattergun
approach, I'm afraid)
alias scsi_hostadapter ide-scsi
alias cdrom ide-scsi
alias sga ide-scsi
probeall scsi-hosts ide-scsi
and the standard /etc/modules.devfs (3-JUL-2000)
On booting, lsmod shows no modules loaded.
On entering
l /dev/scsi
the info from loading the ide-scsi module is shown with
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
and
/dev/scsi/host0/bus0/target0/lun0/cd
/dev/scsi/host0/bus0/target0/lun0/generic
are both created but no sg0.
/dev/cdrom is a symbolic link to /dev/cdroms/cdrom0 and
/dev/cdroms/cdrom0 is a symbolic link to
../scsi/host0/bus0/target0/lun0/cd
Running cdrecord -scanbus fails as it can't find /dev/sg0 (or
sg1...sg31, sga..sgz)
However, manually putting in the symlink would be OK if I wasn't using
a CR-ROM for testing...
Can you tell me what I am missing about CREATE?
|