Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 5 down vote accepted

The modules listed in /etc/mkinitcpio.conf are included in the intitrd when it is generated with mkinitcpio -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 by udev but that you may require to run specific applications once your filesystems are mounted, such as fuse or loop.

Note: in the case of a Raid array, you would also include USEDMRAID="yes" in your /etc/rc.conf

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.