aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-11-23 18:57:58 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-11-23 18:57:58 +0000
commitc4a6a8d0edeac22d61fcfd7631bb1533c45a72bb (patch)
treef6f2d32fd2fb0c5412335102b4340c0087c3ba51
parentc825f24fdfbc4bf5fef508183af2d8fea74fa430 (diff)
downloaddoc-c4a6a8d0edeac22d61fcfd7631bb1533c45a72bb.tar.gz
doc-c4a6a8d0edeac22d61fcfd7631bb1533c45a72bb.zip
handbook/boot: fix unload + load example
The unload + load example in the 12.2.3 section doesn't seem to work. The original problem was reported in https://reviews.freebsd.org/D24960. Correct the example by using fully qualified paths since this is how it works now. Tested in 12.1, 12.2 and 13-current. Approved by: docs (gbe@) Differential Revision: https://reviews.freebsd.org/27277
Notes
Notes: svn path=/head/; revision=54707
-rw-r--r--en_US.ISO8859-1/books/handbook/boot/chapter.xml18
1 files changed, 10 insertions, 8 deletions
diff --git a/en_US.ISO8859-1/books/handbook/boot/chapter.xml b/en_US.ISO8859-1/books/handbook/boot/chapter.xml
index 8cad9989aa..aa0c741acb 100644
--- a/en_US.ISO8859-1/books/handbook/boot/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/boot/chapter.xml
@@ -449,19 +449,21 @@ boot:</screen>
previous or another, specified kernel:</para>
<screen><userinput>unload</userinput>
-<userinput>load <replaceable>kernel.old</replaceable></userinput></screen>
+<userinput>load <replaceable>/path/to/kernelfile</replaceable></userinput></screen>
- <para>Use <filename>kernel.GENERIC</filename> to refer to the
- default kernel that comes with an installation, or
- <filename>kernel.old</filename>, to refer to the previously
- installed kernel before a system upgrade or before configuring
- a custom kernel.</para>
+ <para>Use the qualified
+ <filename>/boot/GENERIC/kernel</filename> to refer to
+ the default kernel that comes with an installation, or
+ <filename>/boot/kernel.old/kernel</filename>, to refer to the
+ previously installed kernel before a system upgrade or before
+ configuring a custom kernel.</para>
<para>Use the following to load the usual modules with another
- kernel:</para>
+ kernel. Note that in this case it is not necessary the
+ qualified name:</para>
<screen><userinput>unload</userinput>
-<userinput>set kernel="<replaceable>kernel.old</replaceable>"</userinput>
+<userinput>set kernel="<replaceable>mykernel</replaceable>"</userinput>
<userinput>boot-conf</userinput></screen>
<para>To load an automated kernel configuration script:</para>