/sbin/depmod -a

Kevin J. Cummings cummings at kjchome.homeip.net
Wed Oct 20 06:12:30 UTC 2004


Thomas Cameron wrote:
> On Tue, 2004-10-19 at 18:23 -0700, Rick Lim wrote:
> 
>>On a AMD k6-500 /sbin/depmod –a takes a long time to run, approx 30
>>seconds.
>>
>>Is there any way to speed it up?
> 
> 
> Hi Rick -
> 
>>From the depmod man page:
> 
> depmod  creates  a  list of module dependencies, by reading each module
> under /lib/modules/version and determining what symbols it exports, and
> what symbols it needs.
> 
> That means that depmod has to tickle a BUNCH of modules.  On an old 500
> MHz machine it is likely going to take a while.  30 seconds doesn't
> surprise me.
> 
> You might speed things up by throwing more memory at it.  You will
> probably speed things up by going with a faster disk.  And of course, a
> faster processor and memory wouldn't hurt, either.

You could also delete some of the modules you'll never use from 
/lib/modules/.  That would speed things up too!   B^)

-- 
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us




More information about the fedora-list mailing list