How to find module dependencies for initrd? depmod?
From the man pages for the command "depmod", "These dependencies can get quite complex." What I am trying to figure out, is if there is a command that I can run to tell me what dependencies a module has, one at a time. For example, if I want to find out what dependencies the module "mymodule.ko" has, what command can I use to find out?
Second question, how can I find out what order to load modules so that the dependencies get worked out? Or, does it not matter what order I load modules in, because Linux can figure it out?
The command "modinfo" will provide *some* dependency information, but it won't produce a handy dependency chain, if that's what you're looking for.
The few times I spun my own initrd, the module order didn't seem to matter.
|All times are GMT -5. The time now is 02:49 AM.|