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 |
how to configure ftp server on redhat linux?
what is mean by raid and what are all raids available even in software and hardware?
what is stored in /proc ? what is significance of /proc in linux ?
What is the use of proc structure?
how to configure sendmail server on red hat linux version 4 and what and all we Require?
what is stored at /lib/modules ?
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?
if root user forget the password how to change it?
what are different ways the context switch happens from user to kernel space or vice-versa ?
What does exec family return?
what kind of information the linux driver modules (.ko ) files has ?
Explain process management system calls in linux?