On Tue, Jan 15, 2002 at 12:07:10AM +0000, Anthony mentioned:
> Hi there,
>> As a Linux (Red Hat 6.2) relative newbie who likes to know what is going
> on under the hood, I was going through the rc.sysinint script and
> noticed that `depmod -a' is run at each startup or reboot.
I like this...
> I am curious as to why this is so. Surely `depmod -a' only needs to be
> ran after a kernel recompile or when the contents of the
> /lib/modules/[kernel_version] directory changes.
Or when /etc/modules.conf changes, which is a lot more frequent.
> On a standard install (with PCMCIA) this directory is quite full and
> searching through all the dependencies takes a noticeable time on my
> old and creaking P120 laptop.
>> If anyone has any insight into why this is so, I would be delighted to
Well, the main reason is that not every remembers to re-run depmod. So,
it saves you booting up a buggered system where none of your modules work.
John Looney Chief Scientist
a n t e f a c t o t: +353 1 8586004
www.antefacto.com f: +353 1 8586014
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!