Date: Thu, 6 Aug 1998 02:54:33 -0500 (CDT) From: Joel Ray Holveck <joelh@gnu.org> To: ben@rosengart.com Cc: dacole@netcom.ca, current@FreeBSD.ORG Subject: Re: booting with verbosity by default? Message-ID: <199808060754.CAA13740@detlev.UUCP> In-Reply-To: <Pine.GSO.4.02.9808041339340.6600-100000@echonyc.com> (message from Snob Art Genre on Tue, 4 Aug 1998 13:41:05 -0400 (EDT)) References: <Pine.GSO.4.02.9808041339340.6600-100000@echonyc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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.
Happy hacking,
joelh
--
Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan
Fourth law of programming:
Anything that can go wrong wi
sendmail: segmentation violation - core dumped
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808060754.CAA13740>
