From owner-freebsd-questions@FreeBSD.ORG Sat Jul 3 09:04:48 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 BB49316A4CE for ; Sat, 3 Jul 2004 09:04:48 +0000 (GMT) Received: from outmx021.isp.belgacom.be (outmx021.isp.belgacom.be [195.238.2.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3564B43D2F for ; Sat, 3 Jul 2004 09:04:48 +0000 (GMT) (envelope-from geert@lori.mine.nu) Received: from outmx021.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i6394b7t005912 for ; Sat, 3 Jul 2004 11:04:38 +0200 (envelope-from ) Received: from lori.mine.nu (123-22.244.81.adsl.skynet.be [81.244.22.123]) with ESMTP id i6394Trt005866; Sat, 3 Jul 2004 11:04:29 +0200 (envelope-from ) Received: by lori.mine.nu (Postfix, from userid 1000) id 6714EEA; Sat, 3 Jul 2004 11:04:26 +0200 (CEST) Date: Sat, 3 Jul 2004 11:04:26 +0200 From: Geert Hendrickx To: Chris Message-ID: <20040703090426.GA1757@lori.mine.nu> References: <200407021814280433.2F00477B@coolarrow.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407021814280433.2F00477B@coolarrow.com> User-Agent: Mutt/1.4.2i X-GPG-Key: http://www.win.ua.ac.be/~s005085/gnupgkey.txt X-GPG-Key-ID: 1024D/766C1E92 X-Accept-Language: nl,en cc: freebsd-questions@freebsd.org Subject: Re: core dump location 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: Sat, 03 Jul 2004 09:04:48 -0000 On Fri, Jul 02, 2004 at 06:14:28PM -0500, Chris wrote: > *This message was transferred with a trial version of CommuniGate(tm) > Pro* > > > 5.2.1-RELEASE > > > I tried using this command to change the location where my core dump > is being written: > > sysctl kern.corefile="/var/coredumps/%U/%N.core" > > > After doing that, new core dumps didn't show up there. I tried > creating the directory (wasn't sure if it would be created with the > first core dump or not) and chmod it to 0777 just to make sure it was > writeable by any process - still no core dumps there. > > Is there a way to put it back the way it was, where the core dump ends > up in the working directory as programname.core ? > > Thanks, Chris I never touched it, so here's the default value: # sysctl kern.corefile kern.corefile: %N.core GH