Linux World
Pages
Home
Programming
Computer Architecture
Tit Bits
Trouble Shoot
Kernel Related
Quizzes
Linux Tips
Follow @Linux_world
Search
Linux Kernel Programming Quiz
Linux Kernel Quiz
Linux Kernel Quiz
This is a quiz on basics of linux kernel programming.
The fuction in the module that gets called on insmod is
open
read
init
write
Which structure holds the pointer to file_operations structure
file
task_struct
file_operations
None of the above
The default size of the entries on /proc are
Zero
4KB
Depends on the entry
Depends on Kernel
In a device driver dev_t data type represents
The magic number
Only The mjor number
Combination of Major and minor number
Only the minor number
The file Module.symvers, generated when compiling an external module holds
The symbols exported by the module
The symbols exported by the kernel
All the symbols present in the module
The list of symbols not used by the module
modprobe refers to which file to find out the dependencies
modules.dep
modules.order
dep.module
modules.symbols
modules.dep is generated by which command
depmpod
insmod
modproe
rmmod
The character and block devices are listed in which folder
/media
/dev
/devices
/char and /block
Functions in kernel generally
Return negative number to signal error
Retrun 1 to signal successful execution of function.
Retrun 0 to signal error
Return negative number to signal successful execution of the function.
which command gives information about a module
infomod
modinfo
moduleinfo
moddata
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)