On Tue, 10 Jun 2003, Olaf Hering wrote: > Hi, > > how does usb-storage remove an unplugged/removed drive from > /proc/scsi/scsi? I tried > http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh > This does not remove the host, it does only clear the values:
> ieee1394/sbp2 would remove the 'scsi1' entry. > rmmod would be the only option, but that would not work if there is > another usb-storage device connected. > Is this a bug in usb-storage? > Kernel is 2.4.21-rc7 It's not a bug; usb-storage works that way by design. If you were to plug the disk back in again the driver would recognize it and map it back to the same scsi entry. This behavior has been changed in 2.5, where the scsi entry does go away when you unplug the drive. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel