Subject: RE: exporting hardware "system ID" by sysctl
To: Thor Lancelot Simon <email@example.com>
From: Tim Rightnour <firstname.lastname@example.org>
Date: 10/17/2007 13:28:46
On 17-Oct-2007 Thor Lancelot Simon wrote:
> I am unsure whether this belongs in hw or machdep. Obviously, different
> systems will have different kinds of system-ID data available, but I am
> thinking it could all go under hw.sysid, separated by type.
I don't think it makes sense to put it under hw.sysid.smbios. I like the idea
of hw.sysid, but then to have an additional node under smbios seems like it
would make it harder to use this information in an MD way, you would have to
know the leaf nodes for all the different systems.
For example, on prep, we have:
PrintableModel = IBM Model 7024E20 (c0ED)
Serial = IBM70249451371
FirmwareSupplier = IBMFirmware
I can see how the serial number might be useful as a unique ID for this machine.
Tim Rightnour <email@example.com>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/