Module Name:    src
Committed By:   jmcneill
Date:           Sun Sep 13 18:39:20 UTC 2009

Modified Files:
        src/share/man/man5: boot.cfg.5

Log Message:
PR# port-i386/39463: boot.cfg(8) does not mention about relative path for
        the 'load' option

Document the search behaviour of the 'load' directive when an absolute
path is not specified.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/share/man/man5/boot.cfg.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man5/boot.cfg.5
diff -u src/share/man/man5/boot.cfg.5:1.16 src/share/man/man5/boot.cfg.5:1.17
--- src/share/man/man5/boot.cfg.5:1.16	Fri Sep  4 10:34:16 2009
+++ src/share/man/man5/boot.cfg.5	Sun Sep 13 18:39:20 2009
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.cfg.5,v 1.16 2009/09/04 10:34:16 wiz Exp $
+.\"	$NetBSD: boot.cfg.5,v 1.17 2009/09/13 18:39:20 jmcneill Exp $
 .\"
 .\" Copyright (c) 2007 Stephen Borrill
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 4, 2009
+.Dd September 13, 2009
 .Dt BOOT.CFG 5
 .Os
 .Sh NAME
@@ -93,7 +93,13 @@
 .It Sy load
 Used to load kernel modules, which will be passed on to the kernel for
 initialization during early boot.
-The argument is the complete path and file name of the module to be loaded.
+The argument is either the complete path and file name of the module to be
+loaded, or a symbolic module name.
+When the argument is not an absolute path, the boot loader will first
+attempt to load
+.Pa /stand/<machine>/<kernel_version>/modules/<name>/<name>.kmod .
+If that file does not exist, it will then attempt to load
+.Pa /<name> .
 May be used as many times as needed.
 .It Sy menu
 (may be present multiple times)

Reply via email to