cvs commit: src/etc/rc.d hostid
Jung-uk Kim
jkim at FreeBSD.org
Mon May 21 19:48:58 UTC 2007
On Monday 21 May 2007 03:09 pm, Dag-Erling Smørgrav wrote:
> Jung-uk Kim <jkim at 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
More information about the cvs-src
mailing list