Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] kexec: update manpage with explicit mention of clean kexec
@ 2023-09-20 11:59 Hari Bathini
  2023-10-04 11:56 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Hari Bathini @ 2023-09-20 11:59 UTC (permalink / raw)
  To: Kexec-ml; +Cc: Simon Horman, Baoquan He

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@linux.ibm.com>
---

Changes in v2:
* Replaced "your linux distribution" with user-space.


 kexec/kexec.8 | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/kexec/kexec.8 b/kexec/kexec.8
index 3a344c5..179dcf2 100644
--- a/kexec/kexec.8
+++ b/kexec/kexec.8
@@ -95,8 +95,15 @@ 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 the user-space supports kexec-based
+rebooting, it can be booted to, with a clean shutdown, using the command:
+
+.RS
+.BR reboot
+.RE
+.PP
+Alternatively, it can also be booted to, without calling shutdown(8), with
+the command:
 
 .RS
 .BR kexec \ \-e
-- 
2.41.0


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] kexec: update manpage with explicit mention of clean kexec
  2023-09-20 11:59 [PATCH v2] kexec: update manpage with explicit mention of clean kexec Hari Bathini
@ 2023-10-04 11:56 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2023-10-04 11:56 UTC (permalink / raw)
  To: Hari Bathini; +Cc: Kexec-ml, Baoquan He

On Wed, Sep 20, 2023 at 05:29:27PM +0530, 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@linux.ibm.com>

Thanks, applied.

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-04 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-20 11:59 [PATCH v2] kexec: update manpage with explicit mention of clean kexec Hari Bathini
2023-10-04 11:56 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox