Thierry Vignaud <[email protected]> writes: > On 23 November 2011 22:17, Mageia Team <[email protected]> wrote: >> blino <blino> 3.16-10.mga2: >> + Revision: 171490 >> - add back explicit support for >> /lib/module-init-tools/ldetect-lst-modules.alias, it needs to be >> parsed in its own group, so that modprobe.d/*.conf files are preferred >> over it > > isn't a patch just for this a little overhead? > why not just prepends its name with a numeric value in /etc/modprobe.d?
Because it does not have the same meaning. Putting a modprobe.d file for ldetect aliases mean that they can not be overriden. All alias matches from modprobe.d files will be loaded. If the ldetect-lst file is parsed from another conf files "group", as my patch is doing, only the alias match from modprobe.d files will be loaded if found. -- Olivier Blin - blino
