How to link CD drive to /dev/cdrom?
I'm trying to find a convient way to automatically
link my ATAPI CD drive to /dev/cdrom while using
SCSI emulation. It works fine under normal circumstances
by just creating a link with;
ln -s /dev/scd0 /dev/cdrom
The problem is that the computer is a laptop which
sometimes has an external SCSI CD drive attached.
When it's attached, it grabs the bus scsi0 and
therefore gets assigned to /dev/scd0, while the
emulated scsi gets the bus scsi1 and is assigned
to /dev/scd1. This causes the external CD drive
instead of the internal CD drive to be linked
to /dev/cdrom.
Is there a way to assign the scsi emulation to
the bus scsi0? Or, is there some other way to
automatically create the correct link so that
I don't have to manually change it each time I
connect the external CD drive?
-- Greg
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
Reply to: