LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 07-19-2010, 04:23 AM   #1
ashok449
Member
 
Registered: Sep 2007
Location: noida
Distribution: suse
Posts: 63

Rep: Reputation: 16
dynamic linking while insmod


Hello All,

I'm trying to figure out how dynamic linking happens in Linux kernel while loading a module.

when I run #insmod test.ko

It'll will call test.c file's module_init(...);

but how this code is loaded into the kernel?

hope you all understand what I'm searching for


Thanks,
Ashok
 
Old 07-22-2010, 01:00 AM   #2
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Read the below link in detail:
http://tldp.org/LDP/tlk/modules/modules.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Static linking vs. dynamic linking? posix_memalign Programming 13 04-18-2010 02:27 PM
static and dynamic linking zb10948 Programming 1 04-27-2009 03:48 AM
dynamic linking joshknape Linux - Software 1 09-19-2005 09:43 PM
dynamic linking and g++ kris273 Programming 10 08-16-2004 02:16 PM
Static/dynamic linking ugenn Linux - Software 0 12-15-2002 11:01 PM


All times are GMT -5. The time now is 09:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration