core dumps
Giorgos Keramidas
keramida at ceid.upatras.gr
Fri Nov 10 22:17:52 UTC 2006
On 2006-11-10 12:40, Jim Pazarena <fquest at 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
More information about the freebsd-questions
mailing list