[linux-usb-devel] usb-storage and rescan-scsi-bus.sh in 2.4

2003-06-10 Thread Olaf Hering
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: smirnow:~ # cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00

Re: [linux-usb-devel] usb-storage and rescan-scsi-bus.sh in 2.4

2003-06-10 Thread Alan Stern
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.

Re: [linux-usb-devel] usb-storage and rescan-scsi-bus.sh in 2.4

2003-06-10 Thread Olaf Hering
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:

Re: [linux-usb-devel] usb-storage and rescan-scsi-bus.sh in 2.4

2003-06-10 Thread Alan Stern
On Tue, 10 Jun 2003, Olaf Hering wrote: 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. usb-storage is supposed to