Re: rescan scsi

Peter Svensson (petersv@df.lth.se)
Fri, 20 Jun 1997 16:26:59 +0200 (MET DST)


On Fri, 20 Jun 1997, Lauri Tischler wrote:

> If I plug a new diskdrive into a scsicontroller on a live system, how
> do I get the drive to be identified (as /dev/sdx or such) without
> rebooting the bloody box ?

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.

Peter