summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin P. Sant <sachinp@in.ibm.com>2006-09-21 14:07:04 +0530
committerSimon Horman <horms@verge.net.au>2006-10-06 12:46:16 +0900
commitefcdafa70ee525f71a38908571e870f09984efbf (patch)
treec7e748910454dacd8b6ddb826d894732d5b23b06
parent4160e1b01231b8393d11367c82690646368e251d (diff)
kexec man page update for unload option.
Attached herewith is a patch to update the man page for kexec, specifically help message for -u option. Signed-off-by: Sachin Sant <sachinp@in.ibm.com> Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/kexec.82
-rw-r--r--kexec/kexec.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/kexec/kexec.8 b/kexec/kexec.8
index d3468fb..e0fec58 100644
--- a/kexec/kexec.8
+++ b/kexec/kexec.8
@@ -124,7 +124,7 @@ Specify that the new kernel is of this
.B \-u\ (\-\-unload)
Unload the current
.B kexec
-target kernel.
+target kernel. If a capture kernel is being unloaded then specify -p with -u.
.TP
.B \-v\ (\-\-version)
Return the version number of the installed utility.
diff --git a/kexec/kexec.c b/kexec/kexec.c
index 0206fa6..a32cacb 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -683,6 +683,8 @@ void usage(void)
" -l, --load Load the new kernel into the current kernel.\n"
" -p, --load-panic Load the new kernel for use on panic.\n"
" -u, --unload Unload the current kexec target kernel.\n"
+ " If capture kernel is being unloaded specify\n"
+ " -p with -u.\n"
" -e, --exec Execute a currently loaded kernel.\n"
" -t, --type=TYPE Specify the new kernel is of this type.\n"
" --mem-min=<addr> Specify the lowest memory addres to load code into.\n"