From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 05:16:58 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 4FE0837B404 for ; Mon, 7 Apr 2003 05:16:58 -0700 (PDT) Received: from web41813.mail.yahoo.com (web41813.mail.yahoo.com [66.218.93.147]) by mx1.FreeBSD.org (Postfix) with SMTP id E8C9943F3F for ; Mon, 7 Apr 2003 05:16:57 -0700 (PDT) (envelope-from csujun@yahoo.com) Message-ID: <20030407121657.87751.qmail@web41813.mail.yahoo.com> Received: from [211.161.222.111] by web41813.mail.yahoo.com via HTTP; Mon, 07 Apr 2003 20:16:57 CST Date: Mon, 7 Apr 2003 20:16:57 +0800 (CST) From: =?gb2312?q?Jun=20Su?= To: Friedemann Becker In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit 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 Reply-To: csujun@21cn.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 12:16:58 -0000 --- Friedemann Becker 的正文:> sorry, this should have been addressed to the list, > rather than you. > I once again pressed "reply" and forgot to enter the > right "To" address > > :)) > > On Sun, 6 Apr 2003, Friedemann Becker wrote: > > > Date: Sun, 6 Apr 2003 21:12:42 +0200 (CEST) > > From: Friedemann Becker > > > To: Dag-Erling Sm?grav > > Cc: csujun@21cn.com, current@freebsd.org > > Subject: Re: why not document load modules instead > of recompiling kernel?? > > > > 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?grav 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. > > > > We can also use the compile flag to customize the load module. This also should be documented, I think. :):) _________________________________________________________ Do You Yahoo!? 更多惊喜,同样精彩,NetVista A30 热卖 http://ad.cn.doubleclick.net/clk;5313999;7930402;p?http://www.ibm.com/cn/promotion/pc/netvista_a30/index.shtml