On 15 December 2011 15:33, Colin Guthrie <mag...@colin.guthr.ie> wrote: >>> <haraldh> but that is costly and takes a lot of time >>> <haraldh> and also the modprobe.conf.d is something one would want >>> <haraldh> and also install possible helper tools there >>> <haraldh> so, if you want to factor that one out in a module filter >>> function, send it to the initramfs mailing list >>> <haraldh> any help in that area is appreciated and most likely merged :) >>> >>> >>> So if you fancy working on this, I'm sure it'll get upstreamed :) >> >> I might take a look at this. >> >> Though, as Harald says, it might prove to be slow, since we'd have to >> compare every alias of every module considered by dracut against the >> system modalias list... Well, I guess we'll see. > > Yeah I guess it would be good to have the this cached into some kind of > matrix, but that might be a bit tricky in sh...
perl rules! More seriously, ever heard of modprobe --resolve-alias?