Loading unused modules into memory is another method of wasting resources. The tsmod command lists all the modules currently loaded by the OS. Which modules are loaded during boot are determined by the flles in/etc/modprobe.d and/etc/modules. The flles beginning with the word blacklist in the /etclmodprobe. d directory are sourced during boot to determine which modules need not be loaded.
To edit these flles, it is very important to know the function of each module. The modinjo command outputs brief information about a module.
Usage:
Another safe thing to do before editing these flles is to unload the module while the system is running and observing the changes made to the system. This is a temporary change and everything can be restored to normal after a reboot of the system. This can be done using the modprobe command.
to ipv6 from being loaded, in the /etclmodprobe. dlaliases file, edit the line "alias net-pf-IO ipv6" to "alias net-pf-lO off #ipv6". So also for Bluetooth devices; thus the line "alias net-pf-31 bluetooth" will change to "alias net-pf-31 off #bluetooth". What follows the "#" sign is only a comment and is irrelevant to the OS.




Reply With Quote
Bookmarks