changing place of .core files

Marco Beishuizen mbeis at
Sat Jan 16 23:09:21 UTC 2010

On Sun, 17 Jan 2010, RW wrote:

> On Sat, 16 Jan 2010 23:23:52 +0100 (CET)
> Marco Beishuizen <mbeis at> wrote:
>> Normally when a program crashes, it places a .core file in the
>> homefilesystem. Is there a way of changing the filesystem where
>> FreeBSD places it's core dumps?
> cd to another directory before starting the program.

This won't work most of the time because a lot of programs are not started 
by me as user. For example npviewer.bin core dumps a lot because of bad 
flash. But npviewer.bin is started by Firefox, not by me.

Horngren's Observation:
 	Among economists, the real world is often a special case.

More information about the freebsd-questions mailing list