/sbin/depmod -a

Thomas Cameron thomas.cameron at camerontech.com
Wed Oct 20 03:59:10 UTC 2004


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.

BTW - would you please not post in HTML in the future?  Some mail
readers get all wonky with it and a lot of list members get wonky from
that.

Thomas




More information about the fedora-list mailing list