What is the Linux built-in driver load order?

后端 未结 4 1852
天涯浪人
天涯浪人 2020-12-08 14:43

How can we customize the built-in driver load order (to make some built-in driver module load first, and the dependent module load later)?

4条回答
  •  Happy的楠姐
    2020-12-08 15:08

    depmod examines the symbols exported and required by each module and does a topological sort on them that modprobe can later use to load modules in the proper order. Requiring the symbols from modules you wish to be dependent on is enough for it to do the right thing.

提交回复
热议问题