Re: rescan scsi

Michael Neuffer (
Sat, 21 Jun 1997 01:04:06 +0200 (MET DST)

On Fri, 20 Jun 1997, Richard B. Johnson wrote:
> > echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi
> >
> > will reprobe Card 0, Channel 0, Device 1, Lun 0, and add it if it is
> > found.
> Yikes! I was not aware that this was in the kernel. I sure hope there
> is a disclaimer associated with this when one of the SCSI device bits is
> pulling and another is pushing. You really should not disconnect or
> connect a SCSI device when it is power up!

I wrote this quite some time ago and it has been in the kernel ever since.
And yes, there is a note in the source that tells you that it is dangerous
to use this.

BTW, this is only dangerous if you don't have hotpluggable equipment.