Chap7 Kernel Modules Flashcards

1
Q

kernel modules

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

LKM

A

Loadable Kernel Module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

LKM device drivers

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

lsmod

A

list loaded modules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

insmod

A

directly load modules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

rmmod

A

directly remove modules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

modprobe

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

depmod

A

rebuild the module dependency database; needed by modprobe and modinfo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

modinfo

A

display info about a module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

load module

A

$ sudo /sbin/modprobe module_name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

remove module

A

$ sudo /sbin/modprobe -r module_name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

/sys/modules

A

Information about modules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

/etc/modprobe.d

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly