From owner-cvs-src@FreeBSD.ORG Mon May 21 20:05:46 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8094716A421; Mon, 21 May 2007 20:05:46 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 3B42813C45A; Mon, 21 May 2007 20:05:45 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l4LK5iO2065838; Mon, 21 May 2007 16:05:44 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= Date: Mon, 21 May 2007 16:05:35 -0400 User-Agent: KMail/1.6.2 References: <200705211144.l4LBiEHY098477@repoman.freebsd.org> <200705211548.46790.jkim@FreeBSD.org> <86myzygda0.fsf@dwp.des.no> In-Reply-To: <86myzygda0.fsf@dwp.des.no> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Message-Id: <200705211605.37546.jkim@FreeBSD.org> Cc: cvs-src@FreeBSD.org, Doug Barton , "Ralf S. Engelschall" , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d hostid X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 20:05:46 -0000 On Monday 21 May 2007 03:57 pm, Dag-Erling Smørgrav wrote: > Jung-uk Kim writes: > > 'smbios.system.uuid' is exported from loader, not from kernel. > > And it already checks two things, i.e., all zero's and all > > 0xff's, which are the most common and 'useless' UUIDs. If the > > SMBIOS has one of these, it is not set at all. > > Is it safe to assume that smbios.system.uuid returns a string of > the correct form (the correct amount of hex digits with hyphens in > the right places) which is neither all-bits-zero nor all-bits-one? > In that case, there is no need to check anything in etc/rc.d/hostid. Unless someone mistakenly sets it from /boot/loader.conf, that's correct. ;-) Jung-uk Kim