Forcing a da* numbering scheme.

Scott Long scottl at samsco.org
Wed Feb 22 07:21:13 PST 2006


Frank Mayhar wrote:
> bOn Tue, 2006-02-21 at 22:59 -0800, Peter Losher wrote:
> 
>>What's the proper method these days for defining a static naming scheme
>>for direct access devices (da*)?
> 
> 
> /boot/device.hints
> 
> hint.scbus.0.at="ahc0"
> hint.da.0.at="scbus0"
> hint.da.0.target="0"
> hint.da.1.at="scbus0"
> hint.da.1.target="1"
> 
> hint.scbus.1.at="ahc1"
> hint.da.100.at="scbus1"
> hint.da.100.target="0"
> hint.da.101.at="scbus1"
> hint.da.101.target="1"
> 
> etc.

The hint scheme for scsi is also documented in /sys/conf/NOTES, as well
as the scsi(4) manpage.

Scott



More information about the freebsd-stable mailing list