Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2007 15:48:44 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= <des@des.no>
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:  <200705211548.46790.jkim@FreeBSD.org>
In-Reply-To: <86r6pagfic.fsf@dwp.des.no>
References:  <200705211144.l4LBiEHY098477@repoman.freebsd.org> <200705211422.47842.jkim@FreeBSD.org> <86r6pagfic.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 21 May 2007 03:09 pm, Dag-Erling Smørgrav wrote:
> Jung-uk Kim <jkim@FreeBSD.org> writes:
> > Why don't we change smbios.system.uuid to all lower cases? ;-)
> > I have no problem with that.
>
> For that matter, we could even verify that the UUID is valid within
> the kernel before returning it to userland, eliminating the need
> for a syntax check in etc/rc.d/hostid.

'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.

Jung-uk Kim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705211548.46790.jkim>