Not sure if I'm following this completely... On my system I have 2 scsi
hosts... scsi0 is an actual Adaptec SCSI controller with a SCSI 4x CDROM
and 2 SCSI harddrives, scsi1 is the ide-scsi emulation host with the
CDRW... In order to use both drives I had to create 2 symlinks sg0 and
sg1... Are you saying that this could work for either? Or would I need
to create multiple entries?
Jeremy
On Fri, Jul 19, 2002 at 12:13:15PM -0400, Robin wrote:
I added this to /etc/devfs/compat_symlinks:
--
REGISTER ^scsi/host([0-9])/bus0/target0/lun0/generic
CFUNCTION GLOBAL symlink $devname sg\1
UNREGISTER ^scsi/host([0-9])/bus0/target0/lun0/generic CFUNCTION
GLOBAL unlink sg\1
--
it's mostly just for my USB cd burner, but it picks up my USB zip drive
as well...
might have to change busX/targetY/lunZ, however I don't believe you'll
need to.
Jeremy T. Bouse wrote:
Has anyone else had problems with using DevFS and software not
operating properly? I've tried to turn on as much backwards
compatibility as possible for some software that I've found have no
other choice but I tend to notice a lot of it resolves around SCSI.
My recent situation was in getting cdrecord to recognize my
CDROM and CD-RW that are using IDE-SCSI emulation. For some reason it
was lookin for /dev/sg? but with DevFS what I have is like the following
/dev/sg/c1b0t0u0 which doesn't get look'd at... However if I make the
symlink for /dev/sg0 point to that it works...
Any thoughts are ideas? Am I missing something in my
configuration for DevFS completely?