Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2007 21:17:03 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Eric Anderson <anderson@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Improved INCLUDE_CONFIG_FILE
Message-ID:  <20070326111702.GD838@turion.vk2pj.dyndns.org>
In-Reply-To: <4607523E.50201@freebsd.org>
References:  <20070324113739.GA41119@ravenloft.kiev.ua> <20070324135333.GA86105@FreeBSD.czest.pl> <20070324153108.P4956@fledge.watson.org> <20070324220041.GI847@turion.vk2pj.dyndns.org> <20070324233307.GA93841@FreeBSD.czest.pl> <20070325153013.E77473@ury.york.ac.uk> <4607523E.50201@freebsd.org>

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

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-Mar-25 23:55:26 -0500, Eric Anderson <anderson@freebsd.org> wrote:
>On 03/25/07 09:34, Gavin Atkinson wrote:
>>strings `sysctl -n kern.bootfile` | grep ^___ | sed -e 's/^___//'
>>
>>should still work if it was in a .comment section
>
>Unless you no longer have the running kernel, or it has changed since=20
>the boot up of the system.  A sysctl knob to dump it is *very* useful.

Note that kern.bootfile will get updated during installkernel.  I also
can't think of a situation where I would have lost all copies of my
running kernel as well as the config file that was used to build it.
This could potentially happen if you ran two or more installkernels
without rebooting but I can't think of any reason why I would do that:
If a kernel builds, I am likely to try booting it before going onto
something else.  If a kernel doesn't build, it won't install.

Overall, having the config file loaded strikes me as a waste of RAM.

--=20
Peter Jeremy

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGB6uu/opHv/APuIcRAu+CAJ9S0zFoD6ID0jlnWrUyYeifk18/vwCgkKFw
xP+ybZ7CmQGYsy7BNBqe0UQ=
=h06A
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070326111702.GD838>