From owner-freebsd-net Sun Sep 3 13:52:27 2000 Delivered-To: freebsd-net@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6E1BD37B422; Sun, 3 Sep 2000 13:52:25 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e83KqPJ23301; Sun, 3 Sep 2000 13:52:25 -0700 (PDT) Date: Sun, 3 Sep 2000 13:52:25 -0700 From: Alfred Perlstein To: Ben Smithurst Cc: MrBoboo , freebsd net Subject: Re: kernel thing Message-ID: <20000903135225.C18862@fw.wintelcom.net> References: <001f01c0156e$1da7dca0$71aa1518@mesqt1.tx.home.com> <20000903122506.U72445@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20000903122506.U72445@strontium.scientia.demon.co.uk>; from ben@FreeBSD.ORG on Sun, Sep 03, 2000 at 12:25:06PM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Ben Smithurst [000903 04:34] wrote: > MrBoboo wrote: > > > is there a way to view the settings or configuration for the curent > > kernel that is running instead of making a kernel from scratch, i just > > want to change some lines in my current one, is there a way to do > > that??? basically do a CP of the current to a new file name perhaps > > MYKERNEL, then edit MYKERNEL and then you know the rest > > Have you ever built your own kernel before? If you've never built > a kernel before, your kernel will be based on the GENERIC kernel > configuration file in /sys/i386/conf. If you check the LINT kernel you'll see an option: # This allows you to actually store this configuration file into # the kernel binary itself, where it may be later read by saying: # strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL # options INCLUDE_CONFIG_FILE # Include this file in kernel that ought to help. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message