For kdump kernel, check /proc/vmcore
kexec kernel, no way.
On 03/11/17 at 10:40am, Philip Prindeville wrote:
> How do you tell you’re in the new kernel?
>
> There doesn’t seem to be anything in /sys/kernel/ that indicates this.
>
> I could parse /proc/cmdline for the absence of “crashkernel=“ fo
How do you tell you’re in the new kernel?
There doesn’t seem to be anything in /sys/kernel/ that indicates this.
I could parse /proc/cmdline for the absence of “crashkernel=“ for instance, but
there are obvious pitfalls to that.
You’d think there would be a way for the kexec’d kernel to maintai