Date: Mon, 21 May 2007 21:57:59 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Jung-uk Kim <jkim@FreeBSD.org> Cc: cvs-src@FreeBSD.org, Doug Barton <dougb@FreeBSD.org>, "Ralf S. Engelschall" <rse@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d hostid Message-ID: <86myzygda0.fsf@dwp.des.no> In-Reply-To: <200705211548.46790.jkim@FreeBSD.org> (Jung-uk Kim's message of "Mon\, 21 May 2007 15\:48\:44 -0400") References: <200705211144.l4LBiEHY098477@repoman.freebsd.org> <200705211422.47842.jkim@FreeBSD.org> <86r6pagfic.fsf@dwp.des.no> <200705211548.46790.jkim@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jung-uk Kim <jkim@FreeBSD.org> 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. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86myzygda0.fsf>