Date: Mon, 21 May 2007 11:57:50 +0300 From: Mike Makonnen <mtm@FreeBSD.Org> To: "Ralf S. Engelschall" <rse@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d hostid Message-ID: <20070521085750.GA2277@rogue.navcom.lan> In-Reply-To: <200705210822.l4L8Miog004013@repoman.freebsd.org> References: <200705210822.l4L8Miog004013@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 21, 2007 at 08:22:44AM +0000, Ralf S. Engelschall wrote: > rse 2007-05-21 08:22:44 UTC > > FreeBSD src repository > > Modified files: > etc/rc.d hostid > Log: > The standardized textual representation of UUIDs according to RFC 4122 > and ISO/IEC-9834-8:2005 is with LOWER-CASE hexadecimal characters only, > so translate the (usually upper-case and this way not conforming) > representation of the BIOS UUID when reading it. Also be more strict > about the valid characters in the textual representation by checking for > just the hexadecimal characters. tr(1) lives in /usr/bin, which may not be available when / (root) is mounted (it may live on a remotely mounted filesystem, for example). So, you can't rely on tr(1) being available when this script is run. Cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm @ FreeBSD.Org | FreeBSD - http://www.freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070521085750.GA2277>