nerdexam
LPI

117-102 · Question #625

Modprobe will automatically load all base modules needed in the module stack as described by its dependency file. What file is this?

The correct answer is A. modules.dep. 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. The normal use of depmod is to include the…

108 Essential System Services

Question

Modprobe will automatically load all base modules needed in the module stack as described by its dependency file. What file is this?

Options

  • Amodules.dep
  • Bmodprobe.dep
  • Cmodule.dep
  • Dmodep.dep

How the community answered

(25 responses)
  • A
    80% (20)
  • B
    8% (2)
  • D
    12% (3)

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. The normal use of depmod is to include the line /sbin/depmod -a in one of the files in /etc/rc.d so the correct module dependencies will be available after booting the system. depmod -e prints a list of all unresolved symbols. When you tried to load the modules using modprobe command it checks the modules.dep file generated by depmod command to identify the dependencies and load all dependencies as well.

Topics

#modprobe#modules.dep#module dependencies#kernel modules

Community Discussion

No community discussion yet for this question.

Full 117-102 Practice