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 samba, what is configuration file, how it will work?
What is the Diffrent between Redhat linux And suse linux
What is atomic function / atomic variable ?
if one of the critical section code (linked list) is under ISR & another one in kernel thread ? How you will synchronize for this critical section code ?
What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?
How to give the root permision to users?
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?
what is mean by raid and what are all raids available even in software and hardware?
What is the use of proc structure?
how to create samba server in fedora linux 9 ?
what is nis server
How to create secured appeche web sever ?