From owner-freebsd-current Tue Jan 5 12:38:23 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04158 for freebsd-current-outgoing; Tue, 5 Jan 1999 12:38:23 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (m2-15-dbn.dial-up.net [196.34.155.79]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA04146 for ; Tue, 5 Jan 1999 12:38:15 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id WAA10760; Tue, 5 Jan 1999 22:19:25 +0200 (SAT) From: Robert Nordier Message-Id: <199901052019.WAA10760@ceia.nordier.com> Subject: Re: Bootblocks / Bootloader In-Reply-To: from Alex Zepeda at "Jan 4, 99 02:31:17 pm" To: garbanzo@hooked.net (Alex Zepeda) Date: Tue, 5 Jan 1999 22:19:24 +0200 (SAT) Cc: mike@smith.net.au, asmodai@wxs.nl, rnordier@nordier.com, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alex Zepeda wrote: > On Sun, 3 Jan 1999, Mike Smith wrote: > > > That's normal; the "old" help is only displayed in "compatibility" > > mode. Without a /boot.config, the bootblocks try to be as quiet as > > possible. You may notice the spinner stop for a couple of seconds; if > > you hit a key at that point, you'll drop back into "compatibility" mode > > again. > > Oh cool! I was wondering about that for a while, and thought perhaps I > still had the old boot blocks installed. How can I reduce the time that > it stops the spinner, as I've got little or no use for compat. mode? If you want to patch the code: Index: boot2.c =================================================================== RCS file: /home/ncvs/src/sys/boot/i386/boot2/boot2.c,v retrieving revision 1.16 diff -u -r1.16 boot2.c --- boot2.c 1998/11/08 18:37:28 1.16 +++ boot2.c 1999/01/05 20:14:59 @@ -165,7 +165,7 @@ if (autoboot && !*kname) { if (autoboot == 2) { memcpy(kname, PATH_BOOT3, sizeof(PATH_BOOT3)); - if (!keyhit(0x37)) { + if (!keyhit(0x1)) { load(kname); autoboot = 1; } but I'm looking at adding a non-interactive build option which should invoke /boot/loader immediately, (though it would still fall back to compat. mode if /boot/loader doesn't exist). -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message