[plug] Adding SCSI Devices without rebooting

Lindsay Allen allen at cbcfreo.wa.edu.au
Fri Oct 2 14:08:27 WST 1998


This is some info I saved :

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 at int-evry.fr>

HTH
Lindsay
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen   <allen at cleo.murdoch.edu.au>  Perth, Western Australia
voice +61 8 316 2486    modem +61 8 364-9832      32S, 116E vk6lj
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

On Fri, 2 Oct 1998, P Robinson wrote:

> Does anyone know how to add SCSI devices to a Linux box without rebooting.
> The device is attached but I forgot to turn it on, or don't always have
> it on and don't want to have to reboot to use it.
> 
> Peter
> 
> --------------------------------------------------------------------
> | Windows has detected that the mouse has moved, please reboot for |
> | this change to take effect                                       |
> --------------------------------------------------------------------
> Peter Robinson
> ribbo at iinet.net.au
> http://www.iinet.net.au/~ribbo/
> 




More information about the plug mailing list