I am trying to load a module (bcm2835-v4l2) when booting my system, however, my research has shown two ways I can get the module loaded.
I can either append the name of the module to the end of the /etc/modules file
or I can add a
- NAMEOFMODULE.conf
file within /etc/modprobe.d/ and add the name of the module
(in my case, '/etc/modprobe/bcm2835-v4l2.conf').
Two questions:
What is the difference between these two? I have already seen this answer in unix.stackexchange, so anything that is more extensive or more clear is preferred
Which should I prefer in this situation, and in general? Or is it not worth having a preference?