[arch-general] Kmod and modprobe.d

Karol Blazewicz karol.blazewicz at gmail.com
Sat Jan 21 15:13:24 EST 2012


On Sat, Jan 21, 2012 at 9:08 PM, Mauro Santos
<registo.mailling at gmail.com> wrote:
> Today when updating, module-init-tools was replaced by kmod, everything
> went smoothly and my machine boots fine, however I have a doubt, where
> should module configuration files be placed, /etc/modprobe.d or
> /lib/modprobe.d?
>
> Will both directories be supported in the long run or is this a
> temporary thing not to break most systems?
>
> Mauro

http://mailman.archlinux.org/pipermail/arch-dev-public/2012-January/022330.html
Tom Gundersen wrote:
In general, and regardless of kmod, packages should install their
config files in /lib/modprobe.d, and leave /etc/modprobe.d to admins.

This works (in module-init-tools, as well as in kmod) in the same way
as with udev's rule files. If a file foo.conf exists in both /etc and
in /lib, the version in /etc is used and the one in /lib is ignored.
This means the admin can easily override the standard config files
supplied by the packages, and the package updating the config file
does not create .pacnew/.pacsave files.


More information about the arch-general mailing list