Manuel Clos wrote:
> [...]
> I'm helping to write a fronted to a CD burning tool, and I want to make
> it User Friendly.
> 
> As J�rg says, changing the default kernel config will help, but again,
> the moving devices appear:
> if I disconnect the first CD, the second one will then be scd0 ...
> 
> It is not about Linux not being capable, it is about not being so user
> friendly. Lazy? no. I just
> want to play/work with my box instead of wasting hours configuring it.

You can use the scsitools package in Debian/woody (0.1-2 or above) to
automatically configure devices aliases at boot time based on well known
identifier of the hardware (like manufacturer, scsi id, ...).  This package
does make use of scsidev and boot scripts to configure a /dev/scsi/
subdirectory with aliases.
For example, my system has one Plextor scsi cdrom and one Yamaha cdwriter
always named respectively /dev/scsi/cdrom and /dev/scsi/cdrec whether they are
powered up at boot time or not.  You can even force scanning of your SCSI chain
to detect a new device powered up after boot (note that it is not recommended
on almost all SCSI subsystems because they don't support hotplug of
peripherals; it's at your own risks).

This implementation is based on a work from Kurt Garloff <[EMAIL PROTECTED]> for
the SUSE distro. If you apply the patches for boot scripts Kurt is providing
you get the same functionality on SUSE (see http://www.garloff.de/kurt/linux/scsidev/).

Regards. 

PS: this is currently working on 2.2 kernels only.

-- 
 Eric Delaunay                 | S'il n'y a pas de solution, c'est qu'il n'y
 [EMAIL PROTECTED] | a pas de probl�me.   Devise Shadok.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to