Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2014 18:57:17 GMT
From:      Fernando <fernando.apesteguia@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/187613: [PATCH] Improve boot section in handbook
Message-ID:  <201403151857.s2FIvHf1004290@cgiserv.freebsd.org>
Resent-Message-ID: <201403151900.s2FJ00Br068977@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187613
>Category:       docs
>Synopsis:       [PATCH] Improve boot section in handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 15 19:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Fernando
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD beastie 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Tue Jun 11 18:21:20 CEST 2013     root@beastie:/usr/obj/usr/src/sys/APEKERNEL-9.1  amd64

>Description:
In the handbook, there is missing information about how the boot loader searches for files with the boot and load commands[1].

The proposed patch adds some hints about how those files are looked for. Specifically, we should inform that if the name is not qualified, it will be searched under /boot/kernel and /boot/modules.

[1] http://www.freebsd.org/doc/en/books/handbook/boot-blocks.html
>How-To-Repeat:

>Fix:
Apply the attached patch.

If this patch gets committed I can write another one for the Spanish manual since that's my mother tongue.

Patch attached with submission follows:

Index: chapter.xml
===================================================================
--- chapter.xml	(revision 44236)
+++ chapter.xml	(working copy)
@@ -377,7 +377,10 @@
 		name on the command-line is only applicable after an
 		<emphasis>unload</emphasis> command has been issued;
 		otherwise the previously-loaded kernel will be
-		used.</para>
+		used.  If <emphasis>kernelname</emphasis> is not
+		qualified it will be searched under
+		<emphasis>/boot/kernel</emphasis> and
+		<emphasis>/boot/modules</emphasis></para>
 	    </listitem>
 	  </varlistentry>
 
@@ -425,7 +428,11 @@
 	      <para>Loads the kernel, kernel module, or file of the
 		type given, with the specified filename.  Any
 		arguments after <replaceable>filename</replaceable>
-		are passed to the file.</para>
+		are passed to the file.  If
+		<emphasis>filename</emphasis> is not qualified it
+		will be searched under
+		<emphasis>/boot/kernel</emphasis>
+		and <emphasis>/boot/modules</emphasis></para>
 	    </listitem>
 	  </varlistentry>
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403151857.s2FIvHf1004290>