summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHari Bathini <hbathini@linux.ibm.com>2023-09-20 17:29:27 +0530
committerSimon Horman <horms@kernel.org>2023-10-04 13:54:12 +0200
commitbd0200c47c45dd420244b39ddabcecdab1fb9a8e (patch)
tree6fd7129d5a5d01e37717f795be07584b0e4a0c8c
parent2495ccfc52069ecec46031587c94b03ae66ed5d2 (diff)
downloadkexec-tools-bd0200c47c45dd420244b39ddabcecdab1fb9a8e.tar.gz
kexec: update manpage with explicit mention of clean kexec
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> Signed-off-by: Simon Horman <horms@kernel.org>
-rw-r--r--kexec/kexec.811
1 files changed, 9 insertions, 2 deletions
diff --git a/kexec/kexec.8 b/kexec/kexec.8
index 3a344c51..179dcf22 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