Hi Anthony!
This is probably something Red Hat put in there just in case you update your
kernel, and then they "know" that depmod has been run properly....
Red Hat's wonderful way of "protecting the user from him/herself"..... ;)
//Anders
On Tuesday 15 January 2002 00:07, Anthony wrote:
> 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 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.
>> 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
> know.
>> Thanks in advance,
> Anthony Geoghegan
--
Anders Holm
Unix System Administrator
Novara Technology Group
www: www.novara.ie, www.register.ie, www.host.ie
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!