cvs commit: src/etc/rc.d hostid

Doug Barton dougb at FreeBSD.org
Mon May 21 18:46:40 UTC 2007


Dag-Erling Smørgrav wrote:
> Doug Barton <dougb at FreeBSD.org> writes:
>> Meanwhile, I've attached a patch that simplifies the hostid_hardware()
>> quite a bit, and has the added virtue of only calling csh if it's
>> needed.
> 
> It also fails to ensure that the UUID has the correct syntax.

If we're really concerned that this could be a problem (and I don't 
know enough about it to comment) then feel free to wrap a syntax test 
around the last echo. What I'm trying to do is simplify the routine, 
and allow obviously bogus responses to be rejected with cheap tests.

Given that this thing is on by default, and that people are always 
complaining that rc.d stuff runs too slow, we need to be a little more 
careful to do it well, rather than just good enough.

Doug

-- 

     This .signature sanitized for your protection



More information about the cvs-src mailing list