Blame kexec-update-manpage-with-explicit-mention-of-clean-.patch

Lichen Liu 30eecb
From bd0200c47c45dd420244b39ddabcecdab1fb9a8e Mon Sep 17 00:00:00 2001
Lichen Liu 30eecb
From: Hari Bathini <hbathini@linux.ibm.com>
Lichen Liu 30eecb
Date: Wed, 20 Sep 2023 17:29:27 +0530
Lichen Liu 30eecb
Subject: [PATCH] kexec: update manpage with explicit mention of clean kexec
Lichen Liu 30eecb
Lichen Liu 30eecb
While the manpage does mention about kexec boot with a clean shutdown,
Lichen Liu 30eecb
it is not explicit about it. Make it explicit.
Lichen Liu 30eecb
Lichen Liu 30eecb
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Lichen Liu 30eecb
Signed-off-by: Simon Horman <horms@kernel.org>
Lichen Liu 30eecb
---
Lichen Liu 30eecb
 kexec/kexec.8 | 11 +++++++++--
Lichen Liu 30eecb
 1 file changed, 9 insertions(+), 2 deletions(-)
Lichen Liu 30eecb
Lichen Liu 30eecb
diff --git a/kexec/kexec.8 b/kexec/kexec.8
Lichen Liu 30eecb
index 3a344c5..179dcf2 100644
Lichen Liu 30eecb
--- a/kexec/kexec.8
Lichen Liu 30eecb
+++ b/kexec/kexec.8
Lichen Liu 30eecb
@@ -95,8 +95,15 @@ then you would use the following command to load the kernel:
Lichen Liu 30eecb
 .RB "\-\-append=" "root=/dev/hda1" "\ \-\-initrd=" /boot/initrd
Lichen Liu 30eecb
 .RE
Lichen Liu 30eecb
 .PP
Lichen Liu 30eecb
-After this kernel is loaded, it can be booted to at any time using the
Lichen Liu 30eecb
-command:
Lichen Liu 30eecb
+After this kernel is loaded, assuming the user-space supports kexec-based
Lichen Liu 30eecb
+rebooting, it can be booted to, with a clean shutdown, using the command:
Lichen Liu 30eecb
+
Lichen Liu 30eecb
+.RS
Lichen Liu 30eecb
+.BR reboot
Lichen Liu 30eecb
+.RE
Lichen Liu 30eecb
+.PP
Lichen Liu 30eecb
+Alternatively, it can also be booted to, without calling shutdown(8), with
Lichen Liu 30eecb
+the command:
Lichen Liu 30eecb
Lichen Liu 30eecb
 .RS
Lichen Liu 30eecb
 .BR kexec \ \-e
Lichen Liu 30eecb
--
Lichen Liu 30eecb
2.41.0
Lichen Liu 30eecb