Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jul 2004 11:04:26 +0200
From:      Geert Hendrickx <geert.hendrickx@ua.ac.be>
To:        Chris <bsdnewbie@coolarrow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: core dump location
Message-ID:  <20040703090426.GA1757@lori.mine.nu>
In-Reply-To: <200407021814280433.2F00477B@coolarrow.com>
References:  <200407021814280433.2F00477B@coolarrow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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