Subject: Re: stripping kernel
To: village idiot <village_ldi0t@yahoo.com>
From: paul beard <paulbeard@mac.com>
List: netbsd-help
Date: 03/15/2002 16:05:39
village idiot wrote:
>
> But! Do make a copy of the config file as it is now.
> Make your new one by copying the one you use now.
> You'd be surprised at the amount of stuff you can
> chuck out. You can really make some performance
> improvements by doing this.
FreeBSD offers the option of compiling the config file into the
kernel for later extraction:
# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
# strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL
#
options INCLUDE_CONFIG_FILE # Include this file in kernel
Kind of useful . . . .