I've added few modules into mkinitcpio.conf
.
Are they automatically loaded at kernel boot or with udev
if I don't specify them in modules list in rc.conf
?
arch linuxkernelkernel-moduleslinux
I've added few modules into mkinitcpio.conf
.
Are they automatically loaded at kernel boot or with udev
if I don't specify them in modules list in rc.conf
?
Best Answer
The modules listed in
/etc/mkinitcpio.conf
are included in the intitrd when it is generated withmkinitcpio -p linux
. This loads the temporary filesystem into memory, and needs to include modules necessary to create this successfully, depending on your setup.An example would be adding
raid1
to your modules line in/etc/mkinitcpio.conf
to assemble a Raid1 array.In your modules line in
/etc/rc.conf
you would only need to include modules that are not automatically loaded byudev
but that you may require to run specific applications once your filesystems are mounted, such asfuse
orloop
.Note: in the case of a Raid array, you would also include
USEDMRAID="yes"
in your/etc/rc.conf