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

Answers were Sorted based on User's Feedback



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

Answer / guest

At time of insmod required o's brings in ram or updated the
kernen with the perticular device driver. At the time of
rmmod removes the o's by kmod it kills the process and
refresh the kernel.

Is This Answer Correct ?    12 Yes 6 No

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

Answer / rulingminds

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

see www.rulingminds.com/modprogpart1 &
www.rulingminds.com/modprogpart2

for in depth explanation of the Linux module programming

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More Linux System Calls Interview Questions

how to configure ftp server on redhat linux?

9 Answers   Infosys,


what is mean by raid and what are all raids available even in software and hardware?

5 Answers   Satyam,


what is stored in /proc ? what is significance of /proc in linux ?

3 Answers   NetApp,


What is the use of proc structure?

2 Answers   NetApp,


how to configure sendmail server on red hat linux version 4 and what and all we Require?

3 Answers   Wipro,






what is stored at /lib/modules ?

2 Answers   NetApp,


what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?

2 Answers   NetApp,


if root user forget the password how to change it?

4 Answers   Wipro,


what are different ways the context switch happens from user to kernel space or vice-versa ?

0 Answers   Alcatel,


What does exec family return?

1 Answers  


what kind of information the linux driver modules (.ko ) files has ?

2 Answers   NetApp,


Explain process management system calls in linux?

0 Answers  


Categories