From owner-freebsd-questions@FreeBSD.ORG Mon Nov 15 12:42:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E0EE16A4CE for ; Mon, 15 Nov 2004 12:42:57 +0000 (GMT) Received: from smtp03.mrf.mail.rcn.net (smtp03.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DE8143D39 for ; Mon, 15 Nov 2004 12:42:57 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-197-67.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.197.67] helo=jerusalem.litteratus.org.litteratus.org) by smtp03.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CTgC8-00019D-00 for freebsd-questions@freebsd.org; Mon, 15 Nov 2004 07:42:56 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16792.41931.433210.940918@jerusalem.litteratus.org> Date: Mon, 15 Nov 2004 07:40:43 -0500 To: FreeBSD Mailing list In-Reply-To: <20041115110427.GA9768@alzatex.com> References: <20041115110427.GA9768@alzatex.com> X-Mailer: VM 7.17 under 21.5 (beta16) "celeriac" XEmacs Lucid Subject: Using Swap partition for Core dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 12:42:57 -0000 Loren M. Lang writes: > Looking through the system startup scripts I discovered that the > system runs a program called savecore that save a core dump to a > file in /var/crash from a previous crash. The problem is that > this is run after swap has been turned on. True. However: in my experience this happens sufficiently early after swapon that if you're _using_ swap at this point you have other issues (e.g. not enough memory or badly configured programs). I have never had a problem with savecore reading the dump from the designated dump device. Robert Huff