From owner-freebsd-questions Tue Mar 23 14:56:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 7D243152B1 for ; Tue, 23 Mar 1999 14:56:40 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id JAA24282; Wed, 24 Mar 1999 09:26:19 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA67313; Wed, 24 Mar 1999 09:26:18 +1030 (CST) Message-ID: <19990324092618.I425@lemis.com> Date: Wed, 24 Mar 1999 09:26:18 +1030 From: Greg Lehey To: Brian Adkins , freebsd-questions@FreeBSD.ORG Subject: Re: Enabling dumping References: <4.1.19990323142119.00ae9f10@mailbox.iwaynet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <4.1.19990323142119.00ae9f10@mailbox.iwaynet.net>; from Brian Adkins on Tue, Mar 23, 1999 at 02:25:43PM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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