[PATCH] kexec: update manpage with explicit mention of clean kexec
Simon Horman
horms at kernel.org
Mon Aug 28 00:48:10 PDT 2023
On Mon, Aug 28, 2023 at 11:46:14AM +0530, Hari Bathini wrote:
> Any comments on this, please..
Hi Hari,
Sorry, I had missed this.
> On 07/07/23 10:59 am, Hari Bathini wrote:
> > While the manpage does mention about kexec boot with a clean shutdown,
> > it is not explicit about it. Make it explicit.
> >
> > Signed-off-by: Hari Bathini <hbathini at linux.ibm.com>
> > ---
> > kexec/kexec.8 | 12 ++++++++++--
> > 1 file changed, 10 insertions(+), 2 deletions(-)
> >
> > diff --git a/kexec/kexec.8 b/kexec/kexec.8
> > index 3a344c5..87e4ab5 100644
> > --- a/kexec/kexec.8
> > +++ b/kexec/kexec.8
> > @@ -95,8 +95,16 @@ then you would use the following command to load the kernel:
> > .RB "\-\-append=" "root=/dev/hda1" "\ \-\-initrd=" /boot/initrd
> > .RE
> > .PP
> > -After this kernel is loaded, it can be booted to at any time using the
> > -command:
> > +After this kernel is loaded, assuming your Linux distribution supports
> > +kexec-based rebooting, it can be booted to, with a clean shutdown, using
> > +the command:
Perhaps user-space would be better than "your Linux distribution".
But perhaps that is just kernel developer speak and makes less
sense to others.
> > +
> > +.RS
> > +.BR reboot
> > +.RE
> > +.PP
> > +Alternatively, it can also be booted to, without calling shutdown(8), with
> > +the command:
> >
> > .RS
> > .BR kexec \ \-e
>
More information about the kexec
mailing list