Date: Mon, 7 Sep 1998 18:17:16 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= <dag-erli@ifi.uio.no> Cc: current@FreeBSD.ORG Subject: Re: INCLUDE_CONFIG_FILE in kernel broken ... Message-ID: <19980907181716.B12396@scientia.demon.co.uk> In-Reply-To: <xzp3ea43xkf.fsf@hrotti.ifi.uio.no> References: <19980907122052.A29879@scientia.demon.co.uk> <xzp3ea43xkf.fsf@hrotti.ifi.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980907181716.B12396>