Re: Rescanning SCSI Bus...

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Sat, 14 Mar 1998 01:09:37 +0100 (MET)

Brian Macy wrote:
>
> I have a MicroTek E3 and would like to attach it to my Alpha's SCSI chain.
> It only has 1 SCSI controller and I don't want to force the scanner to be on
> at boot-up. Is there a way to force Linux to rescan the SCSI bus (NCR810)
> for the scanner? I can't reload the module since my Hard Drives are on the
> same chain.

Yes:

I use the following script:

#!/bin/sh
echo "scsi add-single-device 0 0 $1 0" > /proc/scsi/scsi

As the argument you give it the scsi ID that needs to be rescanned.

Roger.

-- 
If it's there and you can see it, it's REAL      |___R.E.Wolff@BitWizard.nl  |
If it's there and you can't see it, it's TRANSPARENT |  Tel: +31-15-2137555  |
If it's not there and you can see it, it's VIRTUAL   |__FAX:_+31-15-2138217  |
If it's not there and you can't see it, it's GONE! -- Roy Wilks, 1983  |_____|

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com