From owner-freebsd-newbies Wed Jul 12 17:27: 9 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 D95E437C064 for ; Wed, 12 Jul 2000 17:27:04 -0700 (PDT) (envelope-from pirol9999@gmx.net) Received: (qmail 425 invoked by uid 0); 13 Jul 2000 00:27:03 -0000 Received: from p3e9ef9a4.dip0.t-ipconnect.de (HELO gmx.net) (62.158.249.164) by mail.gmx.net with SMTP; 13 Jul 2000 00:27:03 -0000 Date: Thu, 13 Jul 2000 02:28:45 +0200 From: Jens Sauer Reply-To: Jens Sauer To: 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: <20000713002704.D95E437C064@hub.freebsd.org> Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Back again, so, both options "NO_LKM" and "NO_KLD" are not known in kernel-configuration. Also the manpages for KLD and KLDLOAD don't say anything about it. Anybody got an idea how to disable it? Jens > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message