Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 23:25:03 +0200
From:      Jens Sauer <pirol9999@gmx.net>
To:        Joe.Warner@smed.com
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: How to disable Kernel-Modules-Support?
Message-ID:  <20000712212336.04F7B37C280@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000712212336.04F7B37C280>