Re: why not document load modules instead of recompiling kernel??

From: Jun Su <csujun_at_yahoo.com>
Date: Mon, 7 Apr 2003 20:16:57 +0800 (CST)
 --- Friedemann Becker
<friedemann.becker_at_student.uni-tuebingen.de> 的正文:>
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
> <zxmxy33_at_mail.uni-tuebingen.de>
> > To: Dag-Erling Sm?grav <des_at_ofug.org>
> > Cc: csujun_at_21cn.com, current_at_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 <csujun_at_yahoo.com> 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
Received on Mon Apr 07 2003 - 03:16:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC