The server runs depmod -a from /etc/rc.d/rc.sysinit during the boot sequence. It is a search for all modules in all directories specified in /etc/modules.conf.
ie
path=/lib/modules/$(/bin/uname -r)-e-smith
path=/lib/modules/$(/bin/uname -r)
How you would tackle this one I am not sure. It is not just hardware. Ipsec, ppp, gre and tap devices live in there as well.
Regards Duncan