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 |
Explain process management system calls in linux?
diff b/w spinlock, seamaphores and mutex and where to use it.
what is stored in /proc ? what is significance of /proc in linux ?
what is nis server
What is the use of proc structure?
how to configure ftp server on redhat linux?
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?
what is segmentation fault?
linux system its not booting up its showing groub error what i need to do?
what are different ways the context switch happens from user to kernel space or vice-versa ?
What are system calls used for process management in linux?
What is atomic function / atomic variable ?