Commit 895f2c20 authored by d.hatayama@fujitsu.com's avatar d.hatayama@fujitsu.com Committed by Jonathan Corbet

docs: admin-guide: Add description of %c corename format

There is somehow no description of %c corename format specifier for
/proc/sys/kernel/core_pattern. The %c corename format specifier is
used by user-space application such as systemd-coredump, so it should
be documented.

To find where %c is handled in the kernel source code, look at
function format_corename() in fs/coredump.c.
Signed-off-by: default avatarHATAYAMA Daisuke <d.hatayama@fujitsu.com>
Link: https://lore.kernel.org/r/TYAPR01MB4014714BB2ACE425BB6EC6B7951A0@TYAPR01MB4014.jpnprd01.prod.outlook.comSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 56e6b3b0
......@@ -213,6 +213,7 @@ core_pattern is used to specify a core dumpfile pattern name.
%h hostname
%e executable filename (may be shortened)
%E executable path
%c maximum size of core file by resource limit RLIMIT_CORE
%<OTHER> both are dropped
* If the first character of the pattern is a '|', the kernel will treat
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment