Correct Way To Disable Loading A Module?
bill g
inboxbillg at gmail.com
Thu Oct 7 13:55:17 UTC 2004
On Thu, 7 Oct 2004 15:30:14 +0200, Martin Pitt
<martin.pitt at canonical.com> wrote:
> Hi!
>
> bill g [2004-10-07 9:19 -0400]:
> > .... but don't know
> > how to avoid loading the other module. It isn't listed in
> > /etc/modules.
>
> Then hotplug loads it automatically. If you want to keep hotplug from
> loading a module "foo", then create a new file in
> /etc/hotplug/blacklist.d/ (name does not matter, but take something
> descriptive like 'nvidia') and put "foo" into it.
I built a file called "agpgart" and put "agpgart" in it. Rebooted,
but the module still loaded. There's another file in that directory,
alsa-base, that's executable, so I made my file executable. However,
after another reboot, lsmod shows agpgart is still loading.
billg
More information about the ubuntu-users
mailing list