On Thu, Dec 04, 2025 at 14:34:06 -0700, D. R. Evans wrote:
> "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.

It goes on to say:

     For  backward  compatibility,  if  /proc/sys/kernel/core_pattern
     does  not include %p and /proc/sys/kernel/core_uses_pid (see below)
     is nonzero, then .PID will be appended to the core filename.

This is core(5) for the record.  "man core" may bring up other pages
depending on what's installed.

Reply via email to