From owner-freebsd-doc@FreeBSD.ORG Mon Jul 18 17:15:48 2011 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A35181065672; Mon, 18 Jul 2011 17:15:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7A34D8FC14; Mon, 18 Jul 2011 17:15:48 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 31EF946B2A; Mon, 18 Jul 2011 13:15:48 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id BB68A8A02E; Mon, 18 Jul 2011 13:15:47 -0400 (EDT) From: John Baldwin To: freebsd-doc@freebsd.org Date: Mon, 18 Jul 2011 13:15:45 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110617; KDE/4.5.5; amd64; ; ) References: <201107170927.p6H9RwHW047238@red.freebsd.org> In-Reply-To: <201107170927.p6H9RwHW047238@red.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201107181315.46049.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 18 Jul 2011 13:15:47 -0400 (EDT) Cc: freebsd-gnats-submit@freebsd.org, wayne mitchell Subject: Re: docs/158992: loader.conf man page X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 17:15:48 -0000 On Sunday, July 17, 2011 5:27:58 am wayne mitchell wrote: > > >Number: 158992 > >Category: docs > >Synopsis: loader.conf man page > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-doc > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: doc-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Jul 17 09:30:12 UTC 2011 > >Closed-Date: > >Last-Modified: > >Originator: wayne mitchell > >Release: 8.1-RELEASE > >Organization: > >Environment: > FreeBSD 8.1-RELEASE FreeBSd 8.1-RELEASE #(date) root@mason.cse.buffalo.edu:/usr/obj/sys/GENERIC amd64 > >Description: > man page for loader.conf shows values to set with examples > value for 'kernel' is incorrect > man page shows: > > kernel (''/boot/kernel/kernel'') > > this does not work, the system prepends this value with the /boot/kernel/ path value, which would give /boot/kernel//boot/kernel/kernel > not sure what purpose this value has as the system boots with the standard kernel even when this value is incorrect - though it does knock out the module loading The default value is actually "kernel". You can set it to, e.g. "test" to boot from /boot/test/kernel (and modules from /boot/test). How about this: Index: loader.conf.5 =================================================================== --- loader.conf.5 (revision 224058) +++ loader.conf.5 (working copy) @@ -107,6 +107,9 @@ present file. Name of the kernel to be loaded. If no kernel name is set, no additional modules will be loaded. +The name must be a subdirectory of +.Pa /boot +that contains a kernel. .It Ar kernel_options Flags to be passed to the kernel. .It Ar password @@ -190,7 +193,7 @@ replacing it with .Dq spinning character (useful for embedded products and such). .It Va kernel -.Pq Dq Pa /boot/kernel/kernel +.Pq Dq kernel .It Va loader_conf_files .Pq Dq Pa /boot/loader.conf /boot/loader.conf.local .It Va splash_bmp_load -- John Baldwin