From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 24 08:46:16 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6A951065670 for ; Thu, 24 Mar 2011 08:46:15 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7CF908FC12 for ; Thu, 24 Mar 2011 08:46:15 +0000 (UTC) Received: by wyf23 with SMTP id 23so9451441wyf.13 for ; Thu, 24 Mar 2011 01:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:message-id :user-agent:mime-version:content-type; bh=8QniMvfiEIzUf6NZmPi1zCrpD/rypGbZBXPa+ImXeLk=; b=X233Uufk9YrsedX+9JjvNDl/MOvW0th9i+rjYBlxxVVPPI+b2KaQHZm0mHahCCMaEn NiDYx+hLebfeKdW6PXjGX9hycGHhdbbrOjyoVfOga2j66+flpBE1q3TAPeccvoqtUtSS T2wneLjAarE9HzZpxt/VjKO9S8ZAo+/BI+8G0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=qJxnEEA8vGpHuO21b/DuE4ZWk3WoeofMbcrAvX9/Ia+bHqqlCRCAEEXy1RtKXtDydp Q4jF/GZC070GnaWGFLaFMCnieU4Sw0vV3u/4yxcSutU+NNLSB8UvKC9p7tENNvbZMBov ydWb4J2E3xblvl9MsEQPSu8XCEKf2FcaiGrq0= Received: by 10.216.120.129 with SMTP id p1mr7731000weh.81.1300956374401; Thu, 24 Mar 2011 01:46:14 -0700 (PDT) Received: from localhost (tor3.anonymizer.ccc.de [80.237.226.73]) by mx.google.com with ESMTPS id l5sm3644939wej.32.2011.03.24.01.46.08 (version=SSLv3 cipher=OTHER); Thu, 24 Mar 2011 01:46:10 -0700 (PDT) From: Pan Tsu To: Oliver Fromme References: <20110323171443.GA59972@freebsd.org> <201103231750.p2NHoSF6009826@lurza.secnetix.de> Date: Thu, 24 Mar 2011 11:46:04 +0300 Message-ID: <868vw4hpo3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-hackers@freebsd.org Subject: Is BOOTWAIT still used? (Was: kernel memory checks on boot vs. boot time) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2011 08:46:16 -0000 Oliver Fromme writes: [...] > To be honest, I don't think that loader takes so much time. > When you set autoboot_delay="-1" and beastie_disable="YES", > the time spent in loader is negligible. (I'm assuming that > you also set BOOTWAIT=0 in make.conf, so boot2 doesn't wait > for a keypress either. I think the default is to wait 3 > seconds.) Is BOOTWAIT still used? A quick grep in sys/boot shows nothing. Digging history, BOOTWAIT never made its way from sys/i386/boot to sys/boot/i386 and was removed in r58284 around 11y ago. And more recently it disappeared from pc98, see r201342. %% Index: share/examples/etc/make.conf =================================================================== --- share/examples/etc/make.conf (revision 219947) +++ share/examples/etc/make.conf (working copy) @@ -138,14 +138,6 @@ #PRINTERDEVICE= ps # # -# How long to wait for a console keypress before booting the default kernel. -# This value is approximately in milliseconds. Keypresses are accepted by the -# BIOS before booting from disk, making it possible to give custom boot -# parameters even when this is set to 0. -# -#BOOTWAIT=0 -#BOOTWAIT=30000 -# # By default, the system will always use the keyboard/video card as system # console. However, the boot blocks may be dynamically configured to use a # serial port in addition to or instead of the keyboard/video console. Index: share/man/man5/make.conf.5 =================================================================== --- share/man/man5/make.conf.5 (revision 219947) +++ share/man/man5/make.conf.5 (working copy) @@ -330,14 +330,6 @@ This defaults to The following list provides a name and short description for variables that are only used doing a kernel build: .Bl -tag -width Ar -.It Va BOOTWAIT -.Pq Vt int -Controls the amount of time the kernel waits for a console keypress -before booting the default kernel. -The value is approximately milliseconds. -Keypresses are accepted by the BIOS before booting from disk, -making it possible to give custom boot parameters even when this is -set to 0. .It Va COPTFLAGS .Pq Vt str Controls the compiler settings when building the %%