Linux System Calls Question:

What happens when we do insmod & rmmod in Linux Device Drivers?

Linux System Calls Interview Question
Linux System Calls Interview Question

Answer:

insmod: insmod is a tool used to attach a module to the
running linux kernel. This will take the kernel object(.ko)
and takes all executable code and data sections of the .ko
and attach it to the running linux kernel.

rmmod: used to remove or deattach a module code from the
running kernel


Previous QuestionNext Question
How to get microseconds of system time from Redhat Linux 4.0?What kind of information the Linux driver modules (.ko ) files has?