On 2004.02.02 22:21, Karl Eklund wrote:
Jonas Smedegaard wrote:
Perhaps mounting the filesystem with something else than 0 as last but one item in fstab solves it?
Why? The dump option seems to have something to do with a kind of backup system, according to man fstab. Also, it seems to be possible to get a core dump:
~ $ cat crash.c main() { char *s; while(1) { *s = "a"; ++s; } } ~ $ gcc -o crash crash.c crash.c: In function `main': crash.c:1: warning: assignment makes integer from pointer without a cast ~ $ ulimit -c 50000 ~ $ ./crash Segmentation fault (core dumped) ~ $ -rw------- 1 ke users 49152 Feb 2 22:19 core
50000 is a bit small for a core file. They usually are tens of megabytes, as the internal memory and mapped files are dumped as well.
Use "ulimit -c unlimited" to enable coredumps instead.
Mike.