cvs commit: src/etc/rc.d hostid
Dag-Erling Smørgrav
des at des.no
Mon May 21 19:58:05 UTC 2007
Jung-uk Kim <jkim at 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
--
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src
mailing list