Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jul 2004 18:14:28 -0500
From:      "Chris" <bsdnewbie@coolarrow.com>
To:        freebsd-questions@freebsd.org
Subject:   core dump location
Message-ID:  <200407021814280433.2F00477B@coolarrow.com>

next in thread | raw e-mail | index | archive | help

*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
_________________________________________________________
Email harvesters eat this: sendjunkmailhere@coolarrow.com



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