Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2008 20:32:13 -0700
From:      Norbert Papke <fbsd-ml@scrapper.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: Core file output directory, writeable directories and procfs
Message-ID:  <200805182032.13524.fbsd-ml@scrapper.ca>
In-Reply-To: <N1N-LoQgHlj-q_@Safe-mail.net>
References:  <N1N-LoQgHlj-q_@Safe-mail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 18, 2008, stonee@safe-mail.net wrote:
> What are the rules dictating where core files are output? Is there a way to
> setup an output directory? 

The sysctl(8) MIB controls core file generation.  See core(5) for more 
information.

To specify a particular location for your core files, you might want to put 
something like

    kern.corefile=/tmp/%N.%P.core

into /etc/sysctl.conf.

Cheers.



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