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 |
if root user forget the password how to change it?
what is samba, what is configuration file, how it will work?
What are system calls used for process management in linux?
linux file defaults permition
1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?
What is the use of proc structure?
Port number is already in use .. how to fix for apache..?
What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?
What is atomic function / atomic variable ?
How to give the root permision to users?
what happens when we do insmod & rmmod in Linux Device Drivers ?
what is stored at /lib/modules ?