Subject: Re: SCSI automagic detection...
To: Gandhi woulda smacked you <greywolf@starwolf.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 09/12/1999 16:22:01
On Sun, 12 Sep 1999 14:39:27 -0700 (PDT) 
 Gandhi woulda smacked you <greywolf@starwolf.com> wrote:

 > Funny.  I've been able to drop on a device after the machine had come
 > up, and then probed it (format, mount, etc) to see the kernel print:
 > 
 > sd2 at esp0 target 2 lun 0
 > sd2: ncyl 1614 acyl 2 hd 15 sec 54 <MICROP, 1588-15MBSUN0669, SN0C>

That's because SunOS doesn't have any thing like cloning devices, and it's
easier to do in the model that doesn't support device cloning.

 > # In NetBSD; we have "scsictl reprobe" to detect newly-appearing devices.
 > 
 > ...scsictl scsibus0 scan any any?
 > 
 > I wonder what it'd take to tell it to summarise what it finds on the
 > bus in the case that dmesg output has expired from the logs.

What do you mean?  scsictl doesn't acutally do any work.  it simply tells
the kernel to rescan the bus.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>