Re: remove unwanted modules
On Wed, Sep 21, 2005 at 12:24:06AM -0500, Marc DM wrote:
> Stupid questions :
>
> How can I find out which modules my system actually needs and disable
> the ones I don't need.
>
> How can I know if a module I'm disabling at startup isn't needed for
> another module that I plan to load?
>
> Thanks. And I won't ask anymore stupid questions for the rest of the week.
You can check the use count from lsmod:
Module Size Used by
nls_utf8 2432 0
it87 29472 0
i2c_sensor 3712 1 it87
i2c_isa 2688 0
i2c_dev 12288 0
powernow_k8 11088 0
freq_table 5192 1 powernow_k8
^ This column
If the count is 0, it means the module is not being used, either because
the device it supplies isn't currently being used, or because you don't
need it.
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
Reply to: