Attached herewith is a patch to update the man page for kexec,
specifically help
message for -u option.
Thanks
-Sachin
Signed-off-by: Sachin Sant <[EMAIL PROTECTED]>
---
diff -Naurp a/kexec/kexec.8 b/kexec/kexec.8
--- a/kexec/kexec.8 2006-09-21 11:16:37.000000000 +0530
+++ b/kexec/kexec.8 2006-09-21 14:02:56.000000000 +0530
@@ -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 -Naurp a/kexec/kexec.c b/kexec/kexec.c
--- a/kexec/kexec.c 2006-09-21 11:16:37.000000000 +0530
+++ b/kexec/kexec.c 2006-09-21 14:02:45.000000000 +0530
@@ -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"
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot