Jeremy Nicoll - ml fedora writes:
On 2019-08-12 02:01, Sam Varshavchik wrote:
ToddAndMargo via users writes:
What does this do?
# echo core > /proc/sys/kernel/core_patternThis will, instead, create a plain file called "core" in the executable's directory.
Excuse my interruption, but why would that create a file named 'core'? Why doesn't it just place 'core' in the named file?
That's not a named file, but a device. And this uses the device to configure the kernel to create a plain file named "core" in the event that a process faults and wants to generate a core dump.