On Fri, Feb 15, 2002 at 09:48:13AM -0500, Patterson, Ross wrote:

> The Marist and SuSE distributions both run "/sbin/depmod -a" during
> startup (Marist out of /etc/rc.d/rc.sysinit, SuSE out of /etc/rc.d/boot).
> I don't have a Red Hat s390 system close to hand, but I expect it
> does as well - Red Hat i386 certainly does (/etc/rc.d/rc.sysinit).

Yes, Redhat on s390 does run depmod in /etc/rc.d/rc.sysinit.

One thing to note is that Redhat's rc.sysinit runs depmod with the -A
option, not -a. The capital A option checks if any of /etc/modules.conf and
the modules under /lib/modules for the current kernel are newer than the
modules.dep file.  If so, it then behaves like the lowercase a option and
generates a new modules.dep.  This should be faster than blindly doing a
'depmod -a' at each boot.

Dave
--
Dave O'Neill, Senior Linux Consultant
Linuxcare, Inc. tel: (613) 562-9949  fax: (613) 562-9700
dmo at linuxcare.com          http://www.linuxcare.com/

Reply via email to