It depends on the SCSI controller you are using.
I implemented support for this quite some time ago.
This is the comment: :-)
/*
* Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
* with "0 1 2 3" replaced by your "Host Channel Id Lun".
* Consider this feature BETA.
* CAUTION: This is not for hotplugging your peripherals. As
* SCSI was not designed for this you could damage your
* hardware !
* However perhaps it is legal to switch on an
* already connected device. It is perhaps not
* guaranteed this device doesn't corrupt an ongoing data transfer.
*/
Unplugging is also there but doesn`t work properly yet.
Mike
Michael Neuffer i-Connect.Net, a Division of iConnect Corp.
mike@i-Connect.Net 13455 SW Allen Blvd., Suite 140
503.677.2900 Beaverton, OR 97008