David Kramer wrote:
> 
> If I turn on a connected SCSI device, is there a way of telling Linux to
> rescan the SCSI bus?
> 

Yup, try this.  Works for me.

--cut---------------------------------------------------------------

#!/bin/sh
#
#
# Add a SCSI device dynamically
#
# This is for the CDRoms 1
#
#  a == hostadapter id (first one being 0)
#  b == SCSI channel on hostadapter (first one being 0)
#  c == ID
#  d == LUN (first one being 0)
#
#echo "scsi add-single-device 0 0 3 0" > /proc/scsi/scsi

echo "scsi add-single-device 0 0 6 0" > /proc/scsi/scsi      

--cut----------------------------------------------------------------

Best

Cokey
-- 
------------------------------------------------------------------
Cokey de Percin, DBA            Email:
Policy Management Systems Corp.  Work - [EMAIL PROTECTED]
Columbia, South Carolina         Home - [EMAIL PROTECTED]


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to