Date: Fri, 10 Nov 2006 23:17:06 +0100 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Jim Pazarena <fquest@ccstores.com> Cc: questions@freebsd.org Subject: Re: core dumps Message-ID: <20061110221706.GB54405@kobe.laptop> In-Reply-To: <4554E3C7.7060004@ccstores.com> References: <4554E3C7.7060004@ccstores.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-11-10 12:40, Jim Pazarena <fquest@ccstores.com> wrote:
> is there any way to have NO core dumps? ..aside from never causing one :)
>
> I mean, can you compile something into the kernel to prevent core dumps?
> I've never found it necessary to examine one in many years, and cannot
> foresee ever having to do it.
You don't have to compile anything into the kernel. There is a sysctl
you can tweak, to enable and/or disable core dumps by processes:
# sysctl kern.coredump=0
To make the setting permanent, set it in your `/etc/sysctl.conf' file
too, without the 'sysctl' command:
kern.coredump=0
- Giorgos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061110221706.GB54405>
