SCSI hot-swap device discovery

Matthew Dillon dillon at
Fri Oct 19 10:11:55 PDT 2012

:On 10/19/12 05:19, sad at wrote:
:> how to ask DFLY to scan SCSI in order to discover recently plugged hot-swap devices?
:camcontrol(8) is your friend here
:- Chris

    Depends on the driver.  For AHCI, if the AHCI chipset has the
    appropriate support it should detect the insertion automatically.
    If it doesn't then the port might not support hot-swap detection
    and camcontrol won't have any effect.

    That might make a nice mini project, though... to have the AHCI driver
    handle the SCSI bus-reset command from camcontrol and force the port
    into a hard reset sequence.

    For NATA/IDE attachments (adXX) you might be able to use natacontrol
    to force it to rescan the bus.

    For other devices it depends on the driver.

					Matthew Dillon 
					<dillon at>

More information about the Users mailing list