NetBSD Problem Report #39463

From www@NetBSD.org  Fri Sep  5 16:53:56 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7077663BC80
	for <gnats-bugs@gnats.netbsd.org>; Fri,  5 Sep 2008 16:53:56 +0000 (UTC)
Message-Id: <20080905165356.447F363B11D@narn.NetBSD.org>
Date: Fri,  5 Sep 2008 16:53:56 +0000 (UTC)
From: xtraeme@gmail.com
Reply-To: xtraeme@gmail.com
To: gnats-bugs@NetBSD.org
Subject: boot.cfg(8) does not mention about relative path for the 'load' option
X-Send-Pr-Version: www-1.0

>Number:         39463
>Category:       port-i386
>Synopsis:       boot.cfg(8) does not mention about relative path for the 'load' option
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 05 16:55:00 +0000 2008
>Closed-Date:    Sun Sep 13 18:40:09 +0000 2009
>Last-Modified:  Sun Sep 13 18:50:01 +0000 2009
>Originator:     Juan RP
>Release:        Latest
>Organization:
>Environment:
>Description:
The boot.cfg(8) manpage mentions the following for the load option:

"Used to load kernel modules, which will be passed on the kernel for initialization during early boot. The argument is the complete path and file name of the module to be loaded. May be used as many times as needed."

Right, but this part should also mention that by default the code tries to guess the NetBSD version and adjusts the path for the modules automagically, so on a freshly installed system you would only need:

load=foo

and this will load the module from /stand/<arch>/<version>/modules/foo/foo.kmod.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Sun, 13 Sep 2009 18:40:09 +0000
State-Changed-Why:
The documentation has been updated. Thanks for the report!


From: "Jared D. McNeill" <jmcneill@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39463 CVS commit: src/share/man/man5
Date: Sun, 13 Sep 2009 18:39:20 +0000

 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.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.