From owner-freebsd-doc@FreeBSD.ORG Thu Apr 10 11:40:08 2003 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06F4037B401 for ; Thu, 10 Apr 2003 11:40:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD30943FBD for ; Thu, 10 Apr 2003 11:40:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3AIe6Up021396 for ; Thu, 10 Apr 2003 11:40:06 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3AIe6ZS021395; Thu, 10 Apr 2003 11:40:06 -0700 (PDT) Resent-Date: Thu, 10 Apr 2003 11:40:06 -0700 (PDT) Resent-Message-Id: <200304101840.h3AIe6ZS021395@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Simon L.Nielsen" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C273C37B401 for ; Thu, 10 Apr 2003 11:35:50 -0700 (PDT) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id B793C43F93 for ; Thu, 10 Apr 2003 11:35:47 -0700 (PDT) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id 3A44F10BF94; Thu, 10 Apr 2003 20:35:46 +0200 (CEST) Message-Id: <20030410183546.3A44F10BF94@arthur.nitro.dk> Date: Thu, 10 Apr 2003 20:35:46 +0200 (CEST) From: "Simon L.Nielsen" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/50790: [patch] Expand description of dumpdev use in Developers Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Simon L.Nielsen" List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 18:40:08 -0000 >Number: 50790 >Category: docs >Synopsis: [patch] Expand description of dumpdev use in Developers Handbook >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Apr 10 11:40:06 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Simon L. Nielsen >Release: FreeBSD 4.8-RC i386 >Organization: >Environment: >Description: Document that setting dumpdev in rc.conf also automatically calls savecore on boot. Change a reference to /etc/rc.conf to use rc.conf(5) instead. >How-To-Repeat: >Fix: --- doc-develbook-crashdump.patch begins here --- Index: kerneldebug/chapter.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.sgml,v retrieving revision 1.45 diff -u -d -r1.45 chapter.sgml --- kerneldebug/chapter.sgml 12 Jan 2003 18:31:39 -0000 1.45 +++ kerneldebug/chapter.sgml 10 Apr 2003 18:23:14 -0000 @@ -24,7 +24,12 @@ (note that this will have to be done after configuring the partition in question as swap space via &man.swapon.8;). This is normally arranged by setting the dumpdev variable in - /etc/rc.conf. + &man.rc.conf.5;. If you have set dumpdev variable + in &man.rc.conf.5; the &man.savecore.8; program will automatically be + called on the first multi-user boot after the crash and save the kernel + crash dump to the directory specified in the &man.rc.conf.5; + dumpdir variable (the default directory is + /var/crash). Alternatively, you can hard-code the dump device via the dump clause in the config line of --- doc-develbook-crashdump.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: