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

diff b/w spinlock, seamaphores and mutex and where to use it.

2 Answers   Intel,


how to configure http server on red hat linux4.0?

5 Answers   IBM,


What is the use of proc structure?

2 Answers   NetApp,


What do fork() internally call?

3 Answers  


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

3 Answers   Wipro,






what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?

1 Answers  


how to create a ftp user on redhat linux 4.0?

6 Answers   Accenture,


what is iptabe on redhat linux?

3 Answers   CDAC,


how to configure ftp server on redhat linux?

9 Answers   Infosys,


1. Where the History file can be located? 2. How will you harden the server? 3. Diff between Raid 1 and Raid 5? 4. What is the largest disk size can be used in LVM? 5. How will you remove a PV from lvm without any data loss? 6. What is the diff between ext3 and ext2 File system? 7. How we can use resize2fs, what is the purpose? 8. What is the purpose of LVM? Why it is used? 9. If the FS is in read-only mode, so we cannot create any file. How will you fix it? 10. How to create swap partition after OS installation? 11. What is the diff between ssh and telnet? 12. How to find out the dependency required for a package?

3 Answers   IBM,


What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?

3 Answers   NetApp,


what is cups and how to configure?

7 Answers   IBM,


Categories