I have made a diligent (but, it seems, not diligent enough) search for how to do this, without success :-(

Under trixie, how do I configure the system that a core dump generates a file called simply "core" in the current working directory??

The best I've been able to do is to create a file whose name is of the form "core.$PID" in the right directory. How do I eliminate the ".$PID" portion of the name??

"man core" says: "By default, a core dump file is named core, but the /proc/sys/kernel/core_pattern file (since Linux 2.6 and 2.4.21) can be set to define a template that is used to name core dump files". FWIW, in my case /proc/sys/kernel/core_pattern contains only the four bytes: core. But for some reason (that is as clear as mud to me) the dot and the PID is still being appended to the name when the core file is created.

  Doc

--
Web:  http://enginehousebooks.com/drevans

Reply via email to