On Wed, 2003-10-29 at 09:24, Alan Stern wrote: > > no matter which USB-storage-device I attach (tried CD-ROM, > > Flash Card Reader and memory stick) I get a new scsi host > > every time i plug a device in. > > > > so when changing devices for several times I finally end up > > with /dev/scsi/host0 to 17 or more (diden't go on) > > This is a SCSI issue, not a USB one. Maybe someone on the > SCSI development list can enlighten us. As far as I can tell, the host > number is simply incremented every time a new host, of whatever sort, is > added. The numbers never get reused.
This is really a design feature. Not reusing hosts gives us time to clean up the old one before the new one is initialised (and prevents races where we could be trying to plug in a new host at the same time we're cleaning up the old one). In 2.6 udev discovery should ensure these devices come back to the same name. James ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
