[ILUG] Red Hat sysinit and depmod

Anders Holm anders at novara.ie
Tue Jan 15 13:16:36 GMT 2002


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




More information about the ILUG mailing list