Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 1999 09:26:18 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Brian Adkins <brian@lojic.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Enabling dumping
Message-ID:  <19990324092618.I425@lemis.com>
In-Reply-To: <4.1.19990323142119.00ae9f10@mailbox.iwaynet.net>; from Brian Adkins on Tue, Mar 23, 1999 at 02:25:43PM -0500
References:  <4.1.19990323142119.00ae9f10@mailbox.iwaynet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 23 March 1999 at 14:25:43 -0500, Brian Adkins wrote:
> After my recent panic attack :) I want to enable dumping in /etc/rc.conf
>
> In my "The Complete FreeBSD" book 2nd. ed. p. 88, it says to change the
> following:
>
> dumpdev=NO
> savecore=NO
>
> to:
>
> dumpdev=/dev/wd0s1b  (where this is the swap device)
> savecore=YES
>
> I had the dumpdev line in rc.conf, so I changed it appropriately, but there
> was no savecore, so I added the line.  Is this correct, or does having
> dumpdev set to a device imply savecore thus making it redundant.

Yes, they've changed the semantics, so you no longer need the
'savecore' variable.  It doesn't do any harm, though.

> Is there any way of testing this ie. simulate a panic?

The way I do it is to drop into ddb and enter the 'panic' command.
But that requires ddb to be configured, of course.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990324092618.I425>