LPI Exam Questions

What command would you execute to rebuild the modules.dep file?

You have just added new modules to your system. What command would you execute to rebuild
the modules.dep file?

A.
depmod –rebuild

B.
update-dependancies

C.
depmod -a

D.
insmod -dependancies

Explanation:
Depmod creates a list of module dependencies, by reading each module under
/lib/modules/version and determining what symbols it exports, and what symbols it needs. By
default this list is written to modules.dep in the same directory.