Subject: Re: Hotplug support on SCSI subsystem
To: Shadi Ammouri <ammouris@gmail.com>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-kern
Date: 10/30/2007 12:03:38
On Tue, 30 Oct 2007, Shadi Ammouri wrote:
> What do you mean by rescanning?
> Is it the config_found/search() functions?

See the "scan" option in scsictl(8).

You can manually initiate a re-scan of the SCSI bus, look what devices are 
there, and then use them. I.e. when you hook up a new SCSI disk, you can 
disklabel(8) it. The output of scsictl(8) should be in dmesg(8) output.

This is only used from userland right now (AFAIK?), no in-kernel facility 
detects attach/detach of scsi devices, and initiates a rescan 
automatically.


  - Hubert