Am So, den 13.06.2004 schrieb Alan Stern um 20:26:
> On Thu, 10 Jun 2004, Rita Gibson wrote:
> > [Increasing SCSI IDs with usb-storage - how to mount it by user?]
> 
> I don't know if it's practical for you to do this, but another approach is
> to rmmod the appropriate drivers each time a USB pen drive is unplugged.  
> It may be enough to rmmod the usb-storage driver, or you may also have to
> rmmod the sd-mod and scsi-mod drivers.  But when the drivers are
> automatically reloaded (when the next pen drive is plugged in), the device
> numbering will start over again from /dev/sda.

Actually this solution seems to be a _little_ bit over the target. I
think the correct solution would be to catch the hotplug event on the
scsi layer and let it create always the same node. For my own use I
wrote a shell script, which automatically creates device nodes,
mountpoints and fstab entries for SCSI (that means also firewire and usb
and anything else, that passes through the scsi layer) CDROMS and Disks.

If your interested ask and you shell get the script ;-)

Good night

Matthias

-- 
Matthias Bläsing
ICQ: 84617206       AIM: linuxfun81    MSN: [EMAIL PROTECTED]

Tempus fugit! Carpe diem!



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to