From owner-freebsd-doc@FreeBSD.ORG Fri Dec 30 22:20:12 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77CB216A41F for ; Fri, 30 Dec 2005 22:20:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE47943D7D for ; Fri, 30 Dec 2005 22:20:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBUMKBE7022844 for ; Fri, 30 Dec 2005 22:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBUMKBbp022843; Fri, 30 Dec 2005 22:20:11 GMT (envelope-from gnats) Date: Fri, 30 Dec 2005 22:20:11 GMT Message-Id: <200512302220.jBUMKBbp022843@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Daniel Gerzo Cc: Subject: Re: docs/85128: loader.conf(5) autoboot_delay incompletly described X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 22:20:12 -0000 The following reply was made to PR docs/85128; it has been noted by GNATS. From: Daniel Gerzo To: bug-followup@FreeBSD.org Cc: Subject: Re: docs/85128: loader.conf(5) autoboot_delay incompletly described Date: Fri, 30 Dec 2005 23:18:13 +0100 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, Included diff should fix your report, it also adds some more information to the autoboot_delay when set to -1. discussed with, and help provided by: ceri@ -- Cheers, Daniel Gerzo --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="loader.diff" diff -ruN loader.orig/loader.8 loader/loader.8 --- loader.orig/loader.8 Fri Dec 30 21:03:24 2005 +++ loader/loader.8 Fri Dec 30 21:23:08 2005 @@ -333,35 +333,8 @@ Number of seconds .Ic autoboot will wait before booting. -If this variable is not defined, -.Ic autoboot -will default to 10 seconds. -.Pp -If set to -.Dq Li NO , -no -.Ic autoboot -will be automatically attempted after processing -.Pa /boot/loader.rc , -though explicit -.Ic autoboot Ns 's -will be processed normally, defaulting to 10 seconds delay. -.Pp -If set to -.Dq Li 0 , -no delay will be inserted, but user still will be able to interrupt -.Ic autoboot -process and escape into the interactive mode by pressing some key -on the console while kernel and -modules are being loaded. -.Pp -If set to -.Dq Li -1 , -no delay will be inserted and -.Nm -will engage interactive mode only if -.Ic autoboot -has failed for some reason. +Configuration options are described in +.Xr loader.conf 5 . .It Va boot_askname Instructs the kernel to prompt the user for the name of the root device when the kernel is booted. diff -ruN loader.orig/loader.conf loader/loader.conf --- loader.orig/loader.conf Fri Dec 30 21:03:24 2005 +++ loader/loader.conf Fri Dec 30 21:15:18 2005 @@ -41,10 +41,7 @@ ### Loader settings ######################################## ############################################################## -#autoboot_delay="10" # Delay in seconds before autobooting, - # set to -1 if you don't want user to be - # allowed to interrupt autoboot process and - # escape to the loader prompt +#autoboot_delay="10" # Delay in seconds before autobooting #beastie_disable="NO" # Turn the beastie boot menu on and off #loader_logo="fbsdbw" # Desired logo: fbsdbw, beastiebw, beastie, none #console="vidconsole" # A comma separated list of console(s) diff -ruN loader.orig/loader.conf.5 loader/loader.conf.5 --- loader.orig/loader.conf.5 Fri Dec 30 21:03:24 2005 +++ loader/loader.conf.5 Fri Dec 30 23:10:09 2005 @@ -90,6 +90,44 @@ All such settings sharing a common prefix refer to the same module. .Bl -tag -width Ar +.It Ar autoboot_delay +Delay in seconds before autobooting. If set to +.Dq Li NO , +no +.Ic autoboot +will be automatically attempted after processing +.Pa /boot/loader.rc , +though explicit +.Ic autoboot Ns 's +will be processed normally, defaulting to 10 seconds delay. +.Pp +If set to +.Dq Li 0 , +no delay will be inserted, but a user with console access will be able +to interrupt the +.Ic autoboot +process and escape into the interactive mode by pressing some key on +the console while kernel and modules are being loaded. +.Pp +If set to +.Dq Li -1 , +no delay will be inserted and +.Nm +will engage interactive mode only if +.Ic autoboot +has failed for some reason. +In combination with the +.Va beastie_disable +option, this option prevents users with console access from being able +to interrupt the +.Ic autoboot +process and escape to the loader prompt. +To use the +.Va autoboot_delay +option in this manner, +.Va beastie_disable +must be set to +.Dq Li YES . .It Ar exec Immediately executes a .Xr loader 8 --C7zPtVaVf+AK4Oqc--