From owner-freebsd-current Thu Aug 6 08:45:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24903 for freebsd-current-outgoing; Thu, 6 Aug 1998 08:45:47 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles218.castles.com [208.214.165.218]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA24883 for ; Thu, 6 Aug 1998 08:45:41 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id IAA03196; Thu, 6 Aug 1998 08:44:08 -0700 (PDT) Message-Id: <199808061544.IAA03196@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: joelh@gnu.org cc: ben@rosengart.com, dacole@netcom.ca, current@FreeBSD.ORG Subject: New bootstrap config file(s) (Re: booting with verbosity by default? ) In-reply-to: Your message of "Thu, 06 Aug 1998 02:54:33 CDT." <199808060754.CAA13740@detlev.UUCP> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Aug 1998 08:44:07 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> I would like to force my systems to always boot with '-v'.. Is there > >> any way to do this without operator intervention? > > Take a look at what boot(8) has to say about /boot.config. > > It says that -v doesn't make the cut for boot.config. The fix is > trivial, but I haven't yet rolled a pr. > > This suggestion hasn't been carefully considered or tested, but if you > want to fix it yourself, then in /sys/i386/boot/biosboot/boot.c, move > the bit about "loadflags &= (RB_DUAL | RB_SERIAL);" to right around > "readfile("boot.config", ...);" about 40 lines up. (The key is that > it should be before "getbootdev(boot_config, &loadflags);".) This > will effectively allow any boot flags in. It will become either "-v" in /boot.config or "set bootverbose" in the new bootstrap config, which I haven't named. And this is a handy topic to raise it under; the new bootstrap will (optionally) need access to quite a few files, and we may not really want these cluttering up the root directory. How do people feel about a /boot directory these days? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message