Re: remove unwanted modules

2005-09-22 Thread Lennart Sorensen
On Wed, Sep 21, 2005 at 09:06:44PM -0500, Marc DM wrote: > Actually, I wanted to know just for knowing purposes. > > The other reason I wanted to know is because I'm using Debian with a > single Opteron246 to create a router to handle traffic between 4 vlans > and the internet. So I wanted to ma

Re: remove unwanted modules

2005-09-21 Thread Jim Crilly
On 09/21/05 09:06:44PM -0500, Marc DM wrote: > > > Jim Crilly wrote: > > >But why do you want to do this? A full modules directory in /lib/`uname -r` > >only takes up ~40M. And who knows when you'll plug in some new USB device > >or something and wish you had that module handy. > > > > > Actual

Re: remove unwanted modules

2005-09-21 Thread Marc DM
Jim Crilly wrote: But why do you want to do this? A full modules directory in /lib/`uname -r` only takes up ~40M. And who knows when you'll plug in some new USB device or something and wish you had that module handy. Actually, I wanted to know just for knowing purposes. The other reason I

Re: remove unwanted modules

2005-09-21 Thread Jim Crilly
On 09/21/05 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

Re: remove unwanted modules

2005-09-21 Thread Marc D. Murray
You can check the use count from lsmod: Module Size Used by nls_utf82432 0 it87 29472 0 i2c_sensor 3712 1 it87 i2c_isa 2688 0 i2c_dev12288 0 powernow_k811088 0 freq_table

Re: remove unwanted modules

2005-09-21 Thread Marc DM
You can check the use count from lsmod: Module Size Used by nls_utf82432 0 it87 29472 0 i2c_sensor 3712 1 it87 i2c_isa 2688 0 i2c_dev12288 0 powernow_k811088 0 freq_table

Re: remove unwanted modules

2005-09-21 Thread Lennart Sorensen
On Wed, Sep 21, 2005 at 11:16:48AM -0700, Joel Johnson wrote: > But that still doesn't get to the issue of how mkinitrd decides which IDE > modules should be included when set to only include dependent modules. > > Any insights? That would be controlled by mkinitrd's config. You can actually ma

Re: remove unwanted modules

2005-09-21 Thread Joel Johnson
On Wednesday 21 September 2005 11:03 am, Lennart Sorensen wrote: > On Wed, Sep 21, 2005 at 10:22:00AM -0500, Mike Dobbs wrote: > > to not add eth1394 I added this line into /etc/modprobe.conf : > > install eth1394 /bin/true > > If you create /etc/modprobe.conf you disable the use of /etc/modprobe.d

Re: remove unwanted modules

2005-09-21 Thread Lennart Sorensen
On Wed, Sep 21, 2005 at 10:22:00AM -0500, Mike Dobbs wrote: > to not add eth1394 I added this line into /etc/modprobe.conf : > install eth1394 /bin/true If you create /etc/modprobe.conf you disable the use of /etc/modprobe.d which is what debian uses. This is not a good idea. Make your changes i

Re: remove unwanted modules

2005-09-21 Thread Mike Dobbs
to not add eth1394 I added this line into /etc/modprobe.conf : install eth1394 /bin/true On Wed, 2005-09-21 at 07:55 -0700, Joel Johnson wrote: > On Wednesday 21 September 2005 12:53 am, Hamish Moffatt wrote: > > On Wed, Sep 21, 2005 at 12:24:06AM -0500, Marc DM wrote: > > > Stupid questions : >

Re: remove unwanted modules

2005-09-21 Thread Joel Johnson
On Wednesday 21 September 2005 12:53 am, Hamish Moffatt wrote: > 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

Re: remove unwanted modules

2005-09-21 Thread Hamish Moffatt
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? > > Th