Date: Wed, 7 Feb 2007 13:17:00 -0500 From: John Baldwin <jhb@freebsd.org> To: freebsd-hackers@freebsd.org Cc: jon.passki@hursk.com, rizzo@icir.org, fbsd@metro.cx Subject: Re: unique hardware identification Message-ID: <200702071317.01732.jhb@freebsd.org> In-Reply-To: <20070201.124057.709402517.imp@bsdimp.com> References: <20070128181132.GR927@turion.vk2pj.dyndns.org> <20070201104917.C82313@xorpc.icir.org> <20070201.124057.709402517.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 01 February 2007 14:40, M. Warner Losh wrote: > In message: <20070201104917.C82313@xorpc.icir.org> > Luigi Rizzo <rizzo@icir.org> writes: > : On Thu, Feb 01, 2007 at 11:38:51AM -0700, M. Warner Losh wrote: > : > In message: <20070128181132.GR927@turion.vk2pj.dyndns.org> > : > Peter Jeremy <peterjeremy@optushome.com.au> writes: > : > : On Sun, 2007-Jan-28 10:39:36 -0600, Jon Passki wrote: > : > : >If the machine is a PXE-compliant device [2], it should have a GUID/ > : > : >UUID [1] available. This can be exposed by sysutil/hal [3] via the > : > : >smbios.system.uuid field. > : > : > : > : You can also get it via kenv(8) without needing any ports: > : > : # kenv smbios.system.uuid > : > : 9F345F4F-BEFC-D431-1340-61235A56DEF9 > : > > : > I wonder why the smbios stuff isn't exported via sysctls as well... > : > : and this is probably a lazy vendor :) > : > : smbios.bios.reldate="07/12/2006" > : smbios.bios.vendor="American Megatrends Inc." > : smbios.bios.version="P1.10" > : smbios.chassis.maker="To Be Filled By O.E.M." > : smbios.chassis.serial="To Be Filled By O.E.M." > : smbios.chassis.tag="To Be Filled By O.E.M." > : smbios.chassis.version="To Be Filled By O.E.M." > : smbios.planar.maker=" " > : smbios.planar.product="775i945GZ" > : smbios.planar.serial=" " > : smbios.planar.version=" " > : smbios.socket.enabled="1" > : smbios.socket.populated="1" > : smbios.system.maker="To Be Filled By O.E.M." > : smbios.system.product="775i945GZ" > : smbios.system.serial="To Be Filled By O.E.M." > : smbios.system.uuid="00020003-0004-0005-0006-000700080009" > : smbios.system.version="To Be Filled By O.E.M." > > Heh! > > My comment though is why do we have to go to kenv when we could > export these via sysctl, like everything else. Because the kernel doesn't expose them. This is done via /boot/loader. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702071317.01732.jhb>