On 06/01/2010 01:51 PM, Timothy Renner wrote:
> I am looking to find a way to get a module added to the initrd
> automatically, whenever mkinitrd is invoked.  I can use the --with
> flag to force a module in, but if for some reason the ramdisk is
> automatically rebuilt (The Driver Update process) or if somebody
> manually re-runs mkinitrd, it will no longer be included and our
> system will no longer boot.  It looks like /etc/modprobe.conf or
> /etc/modprobe.d is useful for SCSI modules only.  Is there any other
> configuration file that can be used to tell mkinitrd to automatically
> include *any* arbitrary module?

Tim,
mkinitrd is just a shell script so you can view it.  At the top, it
sources files in /etc/sysconfig/mkinitrd/ and it appears that if you
define "MODULES=foobar", it will include foobar in the initrd.  It sets
$CONFMODS to $MODULES and lower in the script it runs findmodule against
each module listed in $CONFMODS.

I've not tested this, but it appears it would work.

/Brian/
-- 
       Brian Long                             |       |
       Corporate Security Programs Org    . | | | . | | | .
                                              '       '
                                              C I S C O

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to