2 Feb
2004
2 Feb
'04
11:21 p.m.
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 ~ $