On 2006-11-10 12:40, Jim Pazarena <[EMAIL PROTECTED]> 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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to