cvs commit: src/etc/rc.d hostid

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue May 22 15:35:58 UTC 2007


On Tue, May 22, 2007 at 07:56:42AM -0500, Eric Anderson wrote:
> On 05/21/07 14:57, Dag-Erling Sm?rgrav wrote:
> >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
> 
> [picking random related post to reply to]
> 
> The hostid script also is cranky when used on a diskless host, because it can't write to it's hostid file.  I've been ignoring it, but I wanted to at least mention it.
> 
> Shall I file a PR?

It is probably not worth PR, because it's current.
We should probably just remove the warning.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070522/36159dff/attachment.pgp


More information about the cvs-src mailing list