Chap7 Kernel Modules Flashcards Preview

LFS201 > Chap7 Kernel Modules > Flashcards

Flashcards in Chap7 Kernel Modules Deck (15)
Loading flashcards...
1
Q

kernel modules

A

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

2
Q

LKM

A

Loadable Kernel Module

3
Q

LKM device drivers

A

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

4
Q

LKM filesystem drivers

A

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

5
Q

LKM system calls

A

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
Q

lsmod

A

list loaded modules

7
Q

insmod

A

directly load modules

8
Q

rmmod

A

directly remove modules

9
Q

modprobe

A

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

10
Q

depmod

A

rebuild the module dependency database; needed by modprobe and modinfo

11
Q

modinfo

A

display info about a module

12
Q

load module

A

$ sudo /sbin/modprobe module_name

13
Q

remove module

A

$ sudo /sbin/modprobe -r module_name

14
Q

/sys/modules

A

Information about modules

15
Q

/etc/modprobe.d

A

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