Re: [PATCH v2] reboot: allow to specify reboot mode via sysfs

From: Andrew Morton
Date: Fri Nov 06 2020 - 17:33:19 EST


On Fri, 6 Nov 2020 21:07:04 +0100 Matteo Croce <mcroce@xxxxxxxxxxxxxxxxxxx> wrote:

> The kernel cmdline reboot= option offers some sort of control
> on how the reboot is issued.
> Add handles in sysfs to allow setting these reboot options, so they
> can be changed when the system is booted, other than at boot time.

Please include a description of why you believe the kernel needs this
feature. Use cases, end-user benefits, etc.

We've survived this long without it - what changed?