From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 12:12:51 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AC0B37B401 for ; Sun, 6 Apr 2003 12:12:51 -0700 (PDT) Received: from mx01.uni-tuebingen.de (mx01.uni-tuebingen.de [134.2.3.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B50F43FBD for ; Sun, 6 Apr 2003 12:12:50 -0700 (PDT) (envelope-from friedemann.becker@student.uni-tuebingen.de) Received: from linux17.zdv.uni-tuebingen.de (linux17.zdv.uni-tuebingen.de [134.2.18.17])h36JChfP028015; Sun, 6 Apr 2003 21:12:43 +0200 Date: Sun, 6 Apr 2003 21:12:42 +0200 (CEST) From: Friedemann Becker X-Sender: To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-AntiVirus: checked by AntiVir Milter 1.0.0.8; AVE 6.19.0.3; VDF 6.19.0.5 cc: csujun@21cn.com cc: current@freebsd.org Subject: Re: why not document load modules instead of recompiling kernel?? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 06 Apr 2003 19:12:51 -0000 hmm..... ;-) [bitch] /boot/kernel> file /boot/kernel/dummynet.ko /boot/kernel/dummynet.ko: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped most tasks can be done with kld, no need to recompile the kernel. it's much much easier so a source of less errors. I think too, kld should be mentioned appropriatly in the handbook. When reading, it seemes like rebuilding the kernel is the best (or only) way to configure the device drivers on the system, but I think in most cases, kldloading would be better. what else am I supposed to do with my modules? On Sun, 6 Apr 2003, Dag-Erling Smørgrav wrote: > Jun Su writes: > > However, kldload ipfw also works. Why there isn;t any > > words about this? Is loadable module not encourage? > > The module is built without any options (such as logging), and there > is no kld for divert sockets or dummynet.