what happens when we do insmod & rmmod in Linux Device Drivers ?
Answers were Sorted based on User's Feedback
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 |
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 |
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?
what are different ways the context switch happens from user to kernel space or vice-versa ?
What are the signals we have in Linux
What does exec family return?
what is segmentation fault?
what is cups and how to configure?
what is iptabe on redhat linux?
What is atomic function / atomic variable ?
Explain process management system calls in linux?
What are system calls used for process management in linux?
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?
What is the use of proc structure?