Is BOOTWAIT still used? (Was: kernel memory checks on boot vs. boot
time)
Pan Tsu
inyaoo at gmail.com
Thu Mar 24 08:46:16 UTC 2011
Oliver Fromme <olli at lurza.secnetix.de> 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
%%
More information about the freebsd-hackers
mailing list