LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Stop loading the modules (https://www.linuxquestions.org/questions/linux-software-2/stop-loading-the-modules-339791/)

swmok 07-04-2005 03:43 AM

Stop loading the modules
 
Hi All:
I am using the Debian 3.1 (kernel 2.6).
When I type "lsmod" the list is shown below:
Module Size Used by
af_packet 20872 2
agpgart 31784 1 intel_agp
capability 4872 0
cdrom 35740 1 ide_cd
cfbcopyarea 3840 1 vesafb
cfbfillrect 3712 1 vesafb
cfbimgblt 3200 1 vesafb
commoncap 7168 1 capability
e100 30080 0
ehci_hcd 27908 0
evdev 9088 0
ext3 109672 1
font 8576 0
genrtc 9332 0
ide_cd 38176 0
ide_core 125028 4 ide_cd,ide_generic,piix,ide_disk
ide_disk 16768 3
ide_generic 1664 0
intel_agp 20512 1
ip_conntrack 32908 4 ipt_MASQUERADE,ip_nat_ftp,iptable_nat,ip_conntrack_ftp
ip_conntrack_ftp 72240 1 ip_nat_ftp
ip_nat_ftp 4976 0
ip_tables 16896 3 ipt_MASQUERADE,iptable_filter,iptable_nat
ipt_MASQUERADE 3968 6
iptable_filter 3072 0
iptable_nat 22828 3 ipt_MASQUERADE,ip_nat_ftp
ipv6 229892 6
jbd 54552 1 ext3
mii 4864 1 e100
ohci_hcd 19460 0
pci_hotplug 30640 0
pcspkr 3816 0
piix 12448 1
psmouse 17800 0
uhci_hcd 29328 0
unix 26036 14
usbcore 104164 3 uhci_hcd,ohci_hcd,ehci_hcd
vesafb 6688 0


I found that there are some modules I don't need.
I know I can remove the module by "rmmod".
However, I want to "stop loading the modules while startup"?

What can I do?

Thanks.

hw-tph 07-04-2005 04:36 AM

Add the names of the modules to the hotplug blacklist - /etc/hotplug/blacklist, if I remember correctly.


Håkan


All times are GMT -5. The time now is 03:10 PM.