Chapter 2 Flashcards
1
Q
- In what directory are kernel modules found?
A
/lib/modules/kernel-version/
2
Q
- What command is used to request the removal of a module?
A
/lib/modules/kernel-version/
3
Q
Which of the following could be a reason that the module cannot be removed
A
The module’s usage count is greater than 0 OR The module is depended on by another module which is in use.
3
Q
- What command is used to list all currently inserted kernel modules?
A
lsmod
4
Q
- Which command can be used to request the insertion of a kernel module?
A
modprobe
5
Q
- What configuration file is examined whenever modprobe inserts a module?
A
/etc/modprobed/*.conf
6
Q
- Which of the following would be a conventionally named static kernel image?
A
/boot/vmlinuz-2.6.32-8
7
Q
- Which file contains values for /proc/sys/ directory entries which are set automatically at boottime?
A
/etc/sysctl.conf
8
Q
- After editing the file mentioned in the previous question, what command can be run to immediately implement the changes?
A
sysctl -p
9
Q
- Within the configuration file mentioned above, which of the following lines would correctly set the value of /proc/sys/net/ipv4/ip_forward to 1?
A
net.ipv4.ip_forward = 1