From owner-freebsd-current Mon Sep 7 10:18:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00461 for freebsd-current-outgoing; Mon, 7 Sep 1998 10:18:09 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA00313 for ; Mon, 7 Sep 1998 10:17:58 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.02 #26) id 0zG4ui-000437-00; Mon, 7 Sep 1998 18:17:16 +0100 Date: Mon, 7 Sep 1998 18:17:16 +0100 From: Ben Smithurst To: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= Cc: current@FreeBSD.ORG Subject: Re: INCLUDE_CONFIG_FILE in kernel broken ... Message-ID: <19980907181716.B12396@scientia.demon.co.uk> References: <19980907122052.A29879@scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/0.94.3i (FreeBSD 3.0-CURRENT i386) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Coidan Smørgrav wrote: > I'm afraid it's only you. What command sequence do you use to extract > the config file from the kernel? Damn it. uh, $ /usr/bin/strings /kernel | grep ^___ | head -10 ___## SCIENTIA: scientia.demon.co.uk kernel config ___## ___## maintained by ben@scientia.demon.co.uk ___## derived from GENERIC and LINT ___## basic info ___machine ___cpu ___ident ___maxusers ___options $ /usr/libexec/aout/strings /kernel | grep ^___ | head -10 ___## SCIENTIA: scientia.demon.co.uk kernel config ___## ___## maintained by ben@scientia.demon.co.uk ___## derived from GENERIC and LINT ___## basic info ___machine "i386" ___cpu "I486_CPU" ___ident SCIENTIA ___maxusers 10 ___options GPL_MATH_EMULATE $ /usr/libexec/elf/strings /kernel | grep ^___ | head -10 ___## SCIENTIA: scientia.demon.co.uk kernel config ___## ___## maintained by ben@scientia.demon.co.uk ___## derived from GENERIC and LINT ___## basic info ___machine ___cpu ___ident ___maxusers ___options Looks like /usr/bin/strings == /usr/libexec/elf/strings, but /kernel is aout, so I should use /usr/libexec/aout/strings. Damn it. sorry folks, another silly mistake... -- Ben Smithurst : ben@scientia.demon.co.uk : http://www.scientia.demon.co.uk/ PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C 68 32 0E D5 36 05 3D 16 http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message