Disable core dumps

Craig Reyenga craig at craig.afraid.org
Sun Mar 7 11:30:43 PST 2004


I think you are looking for the 'kern.coredump' sysctl. Put a line like this
in /etc/sysctl.conf:

kern.coredump=0

Hope this helps.

-Craig


----- Original Message -----
From: "Tobias Eichert" <te at macnews.de>
To: <freebsd-questions at freebsd.org>
Sent: Sunday, March 07, 2004 1:39 PM
Subject: Disable core dumps


> Hello,
> I'd like to know whether there's a possibility to disable core dumps in a
> 'global' manner.
> I've already modified my bash config by adding a "ulimit -c 0" in order to
> prevent core dumps from being written to the disk.
> The problem still persists when starting an application via the KDE menu,
in
> my case the qt assistant. The core file will be in my home directory.
>
> There's a way to disable crash dumps by adding the line "dumpdev=NO"
> to /etc/rc.conf. Is there something analogue for nomal core dumps?
>
> Thanks and best regards,
> Tobias
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list