[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding SCSI devices to a live machine
- To: Jim Rees <rees@umich.edu>, tech@openbsd.org
- Subject: Re: Adding SCSI devices to a live machine
- From: chuck <chuck@Yerkes.com>
- Date: Wed, 2 Jun 1999 13:58:05 -0700
- Mail-Followup-To: Jim Rees <rees@umich.edu>, tech@openbsd.org
- References: <199905312137.PAA00535@openbsd.cs.colorado.edu>
Might it make sense, in the kernel file to be able to specify that the
structure for the unit be allocated whether or not it is found
in auto-discovery?
sd4 at scsibus? target 4 lun ? Initialize_the_sucker
Quoting Jim Rees (rees@umich.edu):
> I suppose during the device discovery phase of the boot, structures are
> allocated for each SCSI device found. It is possible to add to these
> structures during run-time?
>
> Not currently. Mach had a very useful feature in some of its device
> drivers. If you tried to open a device that wasn't configured, the open
> routine would re-probe. In most drivers it was about a two line change.
> This was added for pcmcia (now pc-card) but could be useful for your
> application as well.
>
> I would find it very useful to be able to turn devices on and off without
> rebooting, especially pc-card devices. In fact I consider OpenBSD to be
> useless for mobile/portable operation without this feature.