Hi Danny, Thanks for the explanation, I was unaware of all these subtleties… Danny Milosavljevic skribis: > Every time we want to lookup a module by modname, check a hashtable that > is built from modules.dep by: > > * let x-path be the first value of each modules.dep line. > * Then the key for the hashtable entry is (underscore (stop-at-dot (basename x-path))) > * And the value for the hashtable entry is x-path. > > In this way we would look up modules in a way similar to them. Instead of guessing, we could also store a mapping from module name to file name. I had that in a previous patch series that we discussed some time ago (see below.) This a custom format, not used by kmod or any other tool, but the advantage is that it solves the module/file name mapping without ugly guess-hacks. WDYT? Thanks, Ludo’.