Date: Tue, 22 May 2007 17:35:42 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Eric Anderson <anderson@freebsd.org> Cc: Doug Barton <dougb@freebsd.org>, "Ralf S. Engelschall" <rse@freebsd.org>, cvs-src@freebsd.org, cvs-all@freebsd.org, src-committers@freebsd.org, Dag-Erling Sm?rgrav <des@des.no>, Jung-uk Kim <jkim@freebsd.org> Subject: Re: cvs commit: src/etc/rc.d hostid Message-ID: <20070522153542.GE1135@garage.freebsd.pl> In-Reply-To: <4652E88A.9080500@freebsd.org> References: <200705211144.l4LBiEHY098477@repoman.freebsd.org> <200705211422.47842.jkim@FreeBSD.org> <86r6pagfic.fsf@dwp.des.no> <200705211548.46790.jkim@FreeBSD.org> <86myzygda0.fsf@dwp.des.no> <4652E88A.9080500@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--BZaMRJmqxGScZ8Mx Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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@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 > [picking random related post to reply to] >=20 > 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 a= t least mention it. >=20 > Shall I file a PR? It is probably not worth PR, because it's current. We should probably just remove the warning. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --BZaMRJmqxGScZ8Mx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGUw3OForvXbEpPzQRAnMMAKDsb/x/z41gH30OTQsvzomvIsPXawCfVNC2 9kuPr+1DR+UQ5BX0pjMNZRE= =g5de -----END PGP SIGNATURE----- --BZaMRJmqxGScZ8Mx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070522153542.GE1135>