[PATCH] Correct section number for shutdown and clarify what -e does in manpage

Khalid Aziz khalid.aziz at hp.com
Fri Apr 20 12:39:14 EDT 2012


Another patch that I have been carrying in debian kexec-tools package. 
It corrects the section number for shutdown in the man page. This
patch also adds little more descriptive note for the -e option to
clarify that this does not do an orderly shutdown.

Please apply.

Signed-off-by: Khalid Aziz <khalid.aziz at hp.com>
---
 kexec/kexec.8 |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kexec/kexec.8 b/kexec/kexec.8
index da03c40..aff674c 100644
--- a/kexec/kexec.8
+++ b/kexec/kexec.8
@@ -71,7 +71,7 @@ It's also possible to invoke
 .B kexec
 without an option parameter. In that case, kexec loads the specified
 kernel and then invokes
-.BR shutdown (1).
+.BR shutdown (8).
 If the shutdown scripts of your Linux distribution support
 kexec-based rebooting, they then call
 .B kexec
@@ -105,13 +105,13 @@ command:
 .SH OPTIONS
 .TP
 .B \-e\ (\-\-exec)
-Run the currently loaded kernel.
+Run the currently loaded kernel. Note that it will reboot into the loaded kernel without calling shutdown(8).
 .TP
 .B \-f\ (\-\-force)
 Force an immediate
 .B kexec
 call, do not call
-.BR shutdown (1)
+.BR shutdown (8)
 (contrary to the default action without any option parameter). This option
 performs the same actions like executing
 .IR -l
-- 
1.7.8.3

-- 

====================================================================
Khalid Aziz                                         Unix Systems Lab
(970)898-9214                                        Hewlett-Packard
khalid.aziz at hp.com                                  Fort Collins, CO



More information about the kexec mailing list