Core file output directory, writeable directories and procfs

Norbert Papke fbsd-ml at scrapper.ca
Mon May 19 03:33:02 UTC 2008


On May 18, 2008, stonee at 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.


More information about the freebsd-questions mailing list