All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Re: How NOT to have already compiled modules (auto)load?
Date: Wed, 30 Jun 2004 21:57:25 -0700	[thread overview]
Message-ID: <20040701045725.GC2150@kroah.com> (raw)
In-Reply-To: <40E37954.3080201@thinrope.net>

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

      reply	other threads:[~2004-07-01  4:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-01  2:39 How NOT to have already compiled modules (auto)load? Kalin KOZHUHAROV
2004-07-01  4:57 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040701045725.GC2150@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.