-2

As modprobe looks through modules.dep for dependancies,is it necessary to execute depmod before modprobe?plz help me with module inserting process

sonny
  • 13
  • 3
  • http://www.thegeekstuff.com/2010/11/modprobe-command-examples/ – Jeyaram Aug 06 '15 at 14:25
  • @Jeyaram When the kernel needs a feature that is not resident in the kernel, the kernel module daemon kmod execs modprobe to load the module in but in that ex why modprobe was executed by user? – sonny Aug 06 '15 at 14:40
  • If the user don't have idea about dependency for particular kernel module. – Jeyaram Aug 06 '15 at 16:01

1 Answers1

0

It is necessary to execute depmod whenever the dependecies (might) have changed.

Usually, depmod is executed automatically when new modules are installed.

CL.
  • 173,858
  • 17
  • 217
  • 259