From owner-freebsd-current@FreeBSD.ORG Mon Mar 26 13:27:34 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84E0716A401 for ; Mon, 26 Mar 2007 13:27:34 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by mx1.freebsd.org (Postfix) with ESMTP id E324D13C469 for ; Mon, 26 Mar 2007 13:27:33 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.13.4/8.12.9) with ESMTP id l2QDw8sm013730 for ; Mon, 26 Mar 2007 13:58:09 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.13.4/8.12.9/Submit) id l2QDw7FO013729 for freebsd-current@freebsd.org; Mon, 26 Mar 2007 13:58:07 GMT (envelope-from dunstan) Date: Mon, 26 Mar 2007 13:58:06 +0000 From: "Wojciech A. Koszek" To: freebsd-current@freebsd.org Message-ID: <20070326135806.GA13651@FreeBSD.czest.pl> Mail-Followup-To: "Wojciech A. Koszek" , freebsd-current@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> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <4607523E.50201@freebsd.org> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (freebsd.czest.pl [80.48.250.4]); Mon, 26 Mar 2007 13:58:09 +0000 (UTC) Subject: Re: Improved INCLUDE_CONFIG_FILE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 13:27:34 -0000 On Sun, Mar 25, 2007 at 11:55:26PM -0500, Eric Anderson wrote: > On 03/25/07 09:34, Gavin Atkinson wrote: > >On Sat, 24 Mar 2007, Wojciech A. Koszek wrote: > >>On Sun, Mar 25, 2007 at 08:00:41AM +1000, Peter Jeremy 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 > the boot up of the system. A sysctl knob to dump it is *very* useful. The main intention of my work is ask beggining user if he has specific option compiled into the kernel, and do it as easy, as typing "kldstat" for checking, if he has required KLD loaded. Yes, it is useful there. config -k , where the can be either /boot/kernel/kernel or kernel from port-mortem analysisshould be also quite useful. -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/