[CentOS] question on compiling a driver early on at boot

Jerry Geis geisj at pagestation.com
Fri Apr 10 17:23:22 UTC 2009

I have noticed in /etc/inittab it calls /etc/rc.d/rc.sysinit and in 
there ANYTHING with a .modules
name in the /etc/sysconfig/modules directory is executed.

Would this be a place to put a driver.modules file and recompile my 
driver BEFORE entering the next run level?

Is that how this is done or is there a "prefered" way?

My goal is to detect a kernel change after a yum update and recompile my 
driver before its needed.



More information about the CentOS mailing list