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_pattern

This 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.

Attachment: pgp4rWwsKl7k0.pgp
Description: PGP signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to