From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 1 19:47:32 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3AD816A406 for ; Thu, 1 Feb 2007 19:47:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 3F2A913C4A7 for ; Thu, 1 Feb 2007 19:47:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l11JeQip063303; Thu, 1 Feb 2007 12:40:27 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 01 Feb 2007 12:40:57 -0700 (MST) Message-Id: <20070201.124057.709402517.imp@bsdimp.com> To: rizzo@icir.org From: "M. Warner Losh" In-Reply-To: <20070201104917.C82313@xorpc.icir.org> References: <20070128181132.GR927@turion.vk2pj.dyndns.org> <20070201.113851.689651534.imp@bsdimp.com> <20070201104917.C82313@xorpc.icir.org> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Thu, 01 Feb 2007 12:40:29 -0700 (MST) Cc: jon.passki@hursk.com, fbsd@metro.cx, freebsd-hackers@freebsd.org Subject: Re: unique hardware identification X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 19:47:32 -0000 In message: <20070201104917.C82313@xorpc.icir.org> Luigi Rizzo 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 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. Warner