lkml.org 
[lkml]   [2004]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How NOT to have already compiled modules (auto)load?
On Thu, Jul 01, 2004 at 11:39:16AM +0900, Kalin KOZHUHAROV wrote:
> Sorry for the fuzzy subject, I couldn't formulate it better.
>
> I was trying to find info on that on Google, man and Documentation/*, but
> to no avail...
>
> I have a laptop with USB CD-ROM that is very rarely attached/used.
> I have sr_mod, etc. compiled as modules.
> On every boot it gets autoloaded, despite the fact that CD-ROM is not
> connected (no, I don't have another).
>
> My question is is there any good(tm) way to prevent this?
> One way I could think is to rename the module, but that is a bit bad.
> Is there a way to blacklist some modules?

/etc/hotplug/blacklist will prevent the hotplug scripts from loading the
module automatically.

Hope this helps,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.022 / U:2.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site