From owner-freebsd-questions Wed Aug 13 01:31:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA04289 for questions-outgoing; Wed, 13 Aug 1997 01:31:32 -0700 (PDT) Received: from tyree.iii.co.uk (tyree.iii.co.uk [193.117.77.66]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA04282 for ; Wed, 13 Aug 1997 01:31:25 -0700 (PDT) Received: from carrig.strand.iii.co.uk (carrig.strand.iii.co.uk [192.168.7.25]) by tyree.iii.co.uk (8.8.4/8.8.4) with ESMTP id JAA05035; Wed, 13 Aug 1997 09:29:20 +0100 (BST) Received: (from nik@localhost) by carrig.strand.iii.co.uk (8.8.7/8.8.7) id JAA03423; Wed, 13 Aug 1997 09:34:41 +0100 (BST) Message-ID: <19970813093440.50159@strand.iii.co.uk> Date: Wed, 13 Aug 1997 09:34:40 +0100 From: nik@iii.co.uk To: cvicente@tricom.net Cc: questions@FreeBSD.ORG Subject: Re: recompiling the kernel References: <199708121719.VAA19842@sdq1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76e In-Reply-To: <199708121719.VAA19842@sdq1>; from Carlos Vicente Yepes on Wed, Jul 09, 1997 at 03:42:20PM +0000 Organization: interactive investor Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, Jul 09, 1997 at 03:42:20PM +0000, Carlos Vicente Yepes wrote: > I've been wondering if there's a way of changing some system > configurations without having to recompile the kernel each time. It depends on what you want to change. Some system configuration items can be changed while the system is still running. These generally fall into one of two categories: - System variables, such as whether or not IP packets will be gatewayed between two interfaces. These are adjusted using sysctl(8). - Filesystems and compatability modules (I'm slightly generalizing) which can be demand loaded. The modules are (typically) stored in /lkm, and are loaded when necessary. For example, my machine uses the CD drive infrequently. Rather than compile the CD9660 filesystem into the kernel, I rely on the module to be loaded when I mount a CD filesystem, and unloaded when I unmount it. > I had to add another network interface to my system, and didn't find > other way to do it. Unfortunately, this falls into neither of the above catgeories, and will need a kernel recompile to do it. N -- --+==[ Nik Clayton is Just Another Perl Hacker at Interactive Investor ]==+-- "The good guys dress in black. Remember that." NC5-RIPE