From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 7 18:32:03 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 5CDCA16A400 for ; Wed, 7 Feb 2007 18:32:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id DB9BF13C481 for ; Wed, 7 Feb 2007 18:32:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id l17IVsGO080689; Wed, 7 Feb 2007 13:31:54 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Wed, 7 Feb 2007 13:17:00 -0500 User-Agent: KMail/1.9.1 References: <20070128181132.GR927@turion.vk2pj.dyndns.org> <20070201104917.C82313@xorpc.icir.org> <20070201.124057.709402517.imp@bsdimp.com> In-Reply-To: <20070201.124057.709402517.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702071317.01732.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 07 Feb 2007 13:31:55 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2533/Wed Feb 7 09:20:47 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: jon.passki@hursk.com, rizzo@icir.org, fbsd@metro.cx 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: Wed, 07 Feb 2007 18:32:03 -0000 On Thursday 01 February 2007 14:40, M. Warner Losh wrote: > 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. Because the kernel doesn't expose them. This is done via /boot/loader. -- John Baldwin