On Mon, 2 Oct 2000, Quintaq wrote: Hi,
Can anyone tell me if there is a command to force a re-scan of the SCSI bus to identify devices switched on after boot-up (it is a document scanner in my case, which is not often needed so is usually switched off).
There is a way to instruct the kernel to add or remove scsi devices during runtime. It's in /usr/src/linux/scsi/scsi.c (search for the word CAUTION :) ) (and there's mention of this on CD_Writing-HOWTO) you make: $ echo scsi add-single-device Host Channel Id Lun > /proc/scsi/scsi to add one device, and $ echo scsi remove-single-device Host Channel Id Lun > /proc/scsi/scsi o, if your scanner is in your second controller, with id 6, it could be: $ echo scsi add-single-device 1 0 6 0 < /proc/scsi/scsi it's not an auto-rescan, but if you know what devices are attached to the scsi busses, it works :) Regards, Adilson Ribeiro -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq