cvs commit: src/etc/defaults rc.conf

Brooks Davis brooks at FreeBSD.org
Thu Apr 24 15:04:34 UTC 2008


On Thu, Apr 24, 2008 at 11:55:45AM +0100, Robert Watson wrote:
> On Wed, 23 Apr 2008, Brooks Davis wrote:
> 
>> brooks      2008-04-23 22:40:59 UTC
>> 
>>  FreeBSD src repository
>> 
>>  Modified files:
>>    etc/defaults         rc.conf
>>  Log:
>>  Revert rev 1.332 and keep ddb scripts off by default for now.  Minidumps
>>  are more flexable and much text-dump like output can be produced from
>>  them so there's a good argument they are a better default.
> 
> I think a contrast is being set up here that isn't quite the case: DDB 
> scripts work fine with minidumps *and* textdumps, so the choice is not "DDB 
> scripts or minidumps", it's "textdumps or minidumps".  Someone(tm) needs to 
> add support to ddb(8) to extract the DDB textdump buffer from a minidump, 
> in which case you might well want a crash-time script that captures, say, 
> witness output data, and then saves it in the minidump to be extracted 
> after reboot.  I'm fine with the default remaining minidumps, but think we 
> should make sure to think of the various elements of my recent DDB work 
> (output capture, scripting, and textdumps) as separable and reusable.

I agree the contrast isn't entierly real.  I just switched the default
back because the scripts we had were forcing textdumps.  What I'm
thinking of doing is removing the textdump part of the default script
and adding some code to let you set the dump type with an easy rc.conf
variable.  Then turning the script back on.  Hopefully someone(tm) will
add the code to extract textdump data from minidumps so we can have the
best of both worlds.

-- Brooks
-------------- 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/20080424/b4cb3a89/attachment.pgp


More information about the cvs-src mailing list