From owner-freebsd-doc@FreeBSD.ORG Mon Jul 18 17:20:13 2011 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42D59106564A for ; Mon, 18 Jul 2011 17:20:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 18F068FC0C for ; Mon, 18 Jul 2011 17:20:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6IHKC0V091340 for ; Mon, 18 Jul 2011 17:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6IHKCq3091339; Mon, 18 Jul 2011 17:20:12 GMT (envelope-from gnats) Date: Mon, 18 Jul 2011 17:20:12 GMT Message-Id: <201107181720.p6IHKCq3091339@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: John Baldwin Cc: Subject: Re: docs/158992: loader.conf man page X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 17:20:13 -0000 The following reply was made to PR docs/158992; it has been noted by GNATS. From: John Baldwin To: freebsd-doc@freebsd.org Cc: wayne mitchell , freebsd-gnats-submit@freebsd.org Subject: Re: docs/158992: loader.conf man page Date: Mon, 18 Jul 2011 13:15:45 -0400 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