Skip to content

crashinfo: Create core.txt.last symlink#2199

Open
ricardobranco777 wants to merge 1 commit into
freebsd:mainfrom
ricardobranco777:crashinfo_coretxt_symlink
Open

crashinfo: Create core.txt.last symlink#2199
ricardobranco777 wants to merge 1 commit into
freebsd:mainfrom
ricardobranco777:crashinfo_coretxt_symlink

Conversation

@ricardobranco777
Copy link
Copy Markdown
Contributor

When saving a coredump, savecore(8) maintains .last symlinks for the info and vmcore artifacts, but not for the crashinfo text report.

Create it here to point at the current core.txt. file.

This makes /var/crash/core.txt.last track the same core dump as info.last and vmcore.last.

Supersedes: #2178

When saving a coredump, savecore(8) maintains .last symlinks for the
info and vmcore artifacts, but not for the crashinfo text report.

Create it here to point at the current core.txt.<bounds> file.

This makes /var/crash/core.txt.last track the same core dump as
info.last and vmcore.last.

Signed-off-by: Ricardo Branco <rbranco@suse.de>
Copy link
Copy Markdown
Contributor

@mhorne mhorne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants