On Tue, Jun 10, Alan Stern wrote:

> 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.

What is supposed to happen if you plugin another disk?

attach drive 1
mount /dev/sdb1 /mnt
unplug
attach drive 2
What happens to (the new) sdb1 now?
I will try to get another storage device to see how that is handled.


Gruss Olaf

-- 
USB is for mice, FireWire is for men!


-------------------------------------------------------
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

Reply via email to