User Tools

Site Tools


public:mycfg_fbsd

My cfg: FreeBSD


Disable .core files

sysrc dumpdev="NO"

That is for the dump that the OS creates when it crashes, not for the core files that individual programs create. For stopping those, the limit (csh) or ulimit (sh) technique should work. One of the things that makes that technique a bit difficult is that these commands need to be executed in the environment of the program itself.

.bash_profile
ulimit -c 0
limit coredumpsize 0

But overall you can:

/etc/sysctl.conf
kern.coredump=0

or reroute them by:

/etc/sysctl.conf
kern.corefile=/dev/null


return to gimbo wiki home page

public/mycfg_fbsd.txt · Last modified: by 127.0.0.1