Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2010 20:12:24 +0000
From:      "Robert N. M. Watson" <rwatson@freebsd.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, "M. Warner Losh" <imp@bsdimp.com>, freebsd-arch@freebsd.org
Subject:   Re: INCLUDE_CONFIG_FILE in GENERIC
Message-ID:  <86625798-F339-4863-8F97-63B5232A6CF7@freebsd.org>
In-Reply-To: <4B4F7810.2080003@FreeBSD.org>
References:  <4B4E1586.7090102@FreeBSD.org>	<alpine.BSF.2.00.1001141652140.49545@fledge.watson.org>	<20100114.102142.328914705071816274.imp@bsdimp.com> <20100114.105622.457034909117828677.imp@bsdimp.com> <4B4F7810.2080003@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 14 Jan 2010, at 20:01, Doug Barton wrote:

> FWIW, I actually think this makes it worse, not better. The
> INCLUDE_CONFIG_FILE option should include everything needed to =
recreate
> the kernel. If it doesn't, it's worse than worthless, it leads to a
> false sense of security which makes it dangerous. I wasn't actually
> aware that if you do the config -C trick that you'll get ONLY the one
> file, not everything.

(...more irritated words stripped like the comments in a config file...)

I agree. I see two kinds of users:

- Desktop/server users who want their system to work without any special =
tuning or magic, and likely feel the comments they put in configuration =
files are important
- Users who care a about a few hundred bytes of comments due to the =
nature of their special embedded hardware target environment

As such, I see a reasonable "default" -- i.e., i386/amd64 GENERIC -- be =
to fully preserve the configuration and its comments. For the embedded =
and appliance crowds, I definitely want them to be able to fully exclude =
the configuration (by not including the option). I don't see a lot of =
merit to supporting stripping the comments, but if someone wants that =
special case, I'm OK with supporting it, but I think it's an unuseful =
default for the desktop/server platforms.

Robert=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86625798-F339-4863-8F97-63B5232A6CF7>