From owner-freebsd-stable Sun Jun 4 13: 9:12 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by hub.freebsd.org (Postfix) with ESMTP id 8D50E37B52A; Sun, 4 Jun 2000 13:09:08 -0700 (PDT) (envelope-from chris@holly.calldei.com) Received: from holly.calldei.com ([208.191.155.7]) by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FVN001CIBTY8G@mta4.rcsntx.swbell.net>; Sun, 4 Jun 2000 15:05:58 -0500 (CDT) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id PAA52286; Sun, 04 Jun 2000 15:06:01 -0500 (CDT envelope-from chris) Date: Sun, 04 Jun 2000 15:06:01 -0500 From: Chris Costello Subject: Re: kerneld for FreeBSD In-reply-to: <20000604105336.E17973@fw.wintelcom.net> To: Alfred Perlstein Cc: Coleman Kane , stable@FreeBSD.ORG, hackers@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <20000604150601.Q8612@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <20000604135639.A48917@cokane.yi.org> <20000604105336.E17973@fw.wintelcom.net> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, June 04, 2000, Alfred Perlstein wrote: > I thought Linux did away with thier kerneld concept. Afaik we can > currently load a kld from within kernel context, can you please > explain further what you want to do? We can, and we also dynamically load modules when needed (ifconfig, mount). The kernel can also load modules from KLD files "on its own" via kern_linker.c:linker_load_file(). An example of usage is in vfs_syscalls.c:mount(), where if a specified file system configuration structure (vfsconf) is not found in the list of 'configured' file systems, mount(2) attempts to load a module for the file system, if one exists. -- |Chris Costello |Debugger: A tool that substitutes afterthought for forethought. `--------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message