RE: Forcing a da* numbering scheme.

2006-02-22 Thread Daniel Eriksson
Peter Losher wrote:

> What's the proper method these days for defining a static 
> naming scheme for direct access devices (da*)?

man glabel

Easy to use, works on any GEOM-aware storage medium (SCSI, ATA, USB,
...).

/Daniel Eriksson
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Forcing a da* numbering scheme.

2006-02-22 Thread Scott Long

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

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Forcing a da* numbering scheme.

2006-02-21 Thread Frank Mayhar
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.
-- 
Frank Mayhar [EMAIL PROTECTED] http://www.exit.com/
Exit Consulting http://www.gpsclock.com/
http://www.exit.com/blog/frank/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"