Chap7 Kernel Modules Flashcards Preview

LFS201 > Chap7 Kernel Modules > Flashcards

Flashcards in Chap7 Kernel Modules Deck (15):
1

kernel modules

They incorporate device drivers to control hardware either inside the system or attached peripherally.

2

LKM

Loadable Kernel Module

3

LKM device drivers

For a specific piece of hardware like ethernet cards, kernel uses it to communicate

4

LKM filesystem drivers

interprets the contents of a filesystem as files and directories and such. IE. for ext2 filesystem type, MS-DOS type, and NFS

5

LKM system calls

read a file, to create a new process, shutdown a system. You can invent a system call of your own and install it as an LKM.

6

lsmod

list loaded modules

7

insmod

directly load modules

8

rmmod

directly remove modules

9

modprobe

load or unload modules, using a pre-built module database with dependency information

10

depmod

rebuild the module dependency database; needed by modprobe and modinfo

11

modinfo

display info about a module

12

load module

$ sudo /sbin/modprobe module_name

13

remove module

$ sudo /sbin/modprobe -r module_name

14

/sys/modules

Information about modules

15

/etc/modprobe.d

is a directory to control parameters when loading with modprobe. IE. aliases, blacklist