Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 21:42:22 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "Justin T. Gibbs" <gibbs@plutotech.com>
Cc:        mjacob@feral.com, freebsd-arch@FreeBSD.ORG
Subject:   Re: How much do we need the all-singing, all-dancing devfs? 
Message-ID:  <13763.964554142@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 25 Jul 2000 13:28:06 MDT." <200007251927.NAA48018@pluto.plutotech.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200007251927.NAA48018@pluto.plutotech.com>, "Justin T. Gibbs" write
s:
>>
>>But there is a fully qualified 128 bit WWN. It's type 6, and it's in page 0x83
>>of VPD info for Inquiry in SPC2.
>
>But not all devices are SCSI and not all SCSI devices have WWNs, so
>calling the FreeBSD representation of a virtual device identifier
>a WWN will lead to confusion when the identifier doesn't come from
>a WWN.  The CAM3 spec talks a bit about virtual device identifiers
>and leaves it up to the implementer to decide what data is appropriate
>to make it unique.

In my mind it would make more sense to make an API to examine the
disklabels (of various sorts) and pick the "FreeBSD device identifier"
from there.

That way all devices, SCSI, ATA, IDE, RAID, Flash and so on can be
handled.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13763.964554142>