[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I refresh a Linux SCSI bus?



On Thu, Nov 20, 1997 at 07:51:20PM +0000, Timm Gleason wrote:
> I would like to know if there is a way to refresh the SCSI bus under
> Linux.

To add a new device, type as root:

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

where id is the SCSI ID of the drive you want to appear.

To switch it off, just type:

echo "scsi remove-single-device 0 0 id 0">/proc/scsi/scsi

All this is documented in /usr/src/linux/drivers/scsi/scsi.c

olive
-- 
		Olivier Tharan, <tharan@int-evry.fr>

Machine-independent:  Does not run on any existing machine.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: