From owner-freebsd-newbies Wed Jul 12 14:23:41 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 04F7B37C280 for ; Wed, 12 Jul 2000 14:23:36 -0700 (PDT) (envelope-from pirol9999@gmx.net) Received: (qmail 3288 invoked by uid 0); 12 Jul 2000 21:23:30 -0000 Received: from p3e9efdb3.dip0.t-ipconnect.de (HELO gmx.net) (62.158.253.179) by mail.gmx.net with SMTP; 12 Jul 2000 21:23:30 -0000 Date: Wed, 12 Jul 2000 23:25:03 +0200 From: Jens Sauer Reply-To: Jens Sauer To: Joe.Warner@smed.com Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: How to disable Kernel-Modules-Support? X-Mailer: Jens Sauer's registered AK-Mail 3.1 publicbeta2a [ger] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000712212336.04F7B37C280@hub.freebsd.org> Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks for your help. I will try your suggestion "option NO_KLD", let's see.... I knew about the ability to unload modules,but I wanted to disable this function for security reasons. Will report back soon Jens > I'm not familiar with the 4.0 release and can't offer much help if you're > positive you've checked the kernel configuration file and LINT and have > come up empty. You might try "option NO_KLD" instead of "LKM". A safer > approach would be to unload the modules with the kdunload command. Here's > an example: #kldunload -n vinum Note that you can unload some of the klds > this way but not all of them. Good luck! > Joe > Hi, > anyone can tell, how I can disable the support for Loadable Kernel > Modules when compiling a new kernel. I tried kernel-option > "option NO_LKM", but kldstat shows 3 loaded modules anyway. > And I reviewed LINT many times, but still haven't found anything. > I'm using FreeBSD Stable of 07/2000, and think in my official > Walnut Creek Distribution 4.0 it was disabled by default. > Thanks in advance > Jens > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message