what kind of information the linux driver modules (.ko )
files has ?
Answers were Sorted based on User's Feedback
Answer / ajay gautam
kernel 2.6 introduces a new file naming convention: kernel
modules now have a .ko extension (in place of the old .o
extension) which easily distinguishes them from conventional
object files. The reason for this is that they contain an
additional .modinfo section that where additional
information about the module is kept.
Linux program modpost can be used to convert .o files into
.ko files.
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / rulingminds
kernel object(.ko) is a relocatable elf object which
contains module code and data in elf sections. module.c is
compiled into relocatable object and intermediate file
module.mod.c is compiled into relocatable object and they
both together make into one relocatable file called kernel
object (.ko)
see www.rulingminds.com/modprogpart2
for in depth explanation of how modules are built and what
they contain and how they are inserted and removed
| Is This Answer Correct ? | 1 Yes | 1 No |
what is the difference between user APIs and kernel system calls ?
what are the backup utilites on red hat linux 4.0?
what is cups and how to configure?
what is mean by raid and what are all raids available even in software and hardware?
what kind of information the linux driver modules (.ko ) files has ?
what happens when we do insmod & rmmod in Linux Device Drivers ?
What does exec family return?
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?
how to create a ftp user on redhat linux 4.0?
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?
What is the use of proc structure?
what is sudo on linux?