Because the modprobe command can add or remove extra more than one mod‐
ule, due to module dependencies, we need a method of specifying what
options are to be used with those modules. /etc/modprobe.conf (or, if
that does not exist, all files under the /etc/modprobe.d directory)
specifies those options, as required.
So yes, all files under /etc/modprobe.d are treated as configuration files.
Hi Mark,
The following is from "man 5 modprobe.conf":
Because the modprobe command can add or remove extra more than one mod‐
ule, due to module dependencies, we need a method of specifying what
options are to be used with those modules. /etc/modprobe.conf (or, if
that does not exist, all files under the /etc/modprobe.d directory)
specifies those options, as required.
So yes, all files under /etc/modprobe.d are treated as configuration files.