Re: re-detect SCSi bus?

Kurt Garloff (garloff@kg1.ping.de)
Fri, 13 Mar 1998 08:33:41 +0100


On Thu, Mar 12, 1998 at 07:53:17PM -0700, Robert L Harris wrote:
> After boot up, is it possible to have the system re-detect devices on my
> scsi bus so I can turn on my tape or scanner and not have to reboot in
> order to use them?

echo "scsi add-single-device A B C D" >/proc/scsi/scsi
echo "scsi remove-single-device A B C D" >/proc/scsi/scsi

allows you to add resp. remove devices from the SCSI bus. Type /t
/proc/scsi/scsi to see if it's been successful.

A: # of the SCSI host adapter
B: # channel (mostly 0)
C: SCSI ID
D: SCSI LUN (mostly 0)

-- 
Kurt Garloff, Dortmund 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu