Saturday, August 15, 2009

LPI 102v part_003

021. What option of modprobe spectifies the loading of all matching modules instead of stopping after the first successful loading ?

A. -a
B. -f
C. -c
D. -e


Ans : A

Explanation : -a, --all: Load all matching modules instead of stopping after the first successful loading.


022. What option of modprobe allows you to set 'autoclean' on the loaded modules ?

A. -k
B. -d
C. -c
D. -e

Ans : A

Explanation : -k, --autoclean: Set 'autoclean' on loaded modules. Used by the kernel when it calls on modprobe to satisfy a missing feature (supplied as a module). The -q option is implied by -k. These options will automatically be sen to insmod.


023. Modprobe can be used to load (choose all that apply) :

A. a single module
B. a stack of dependent modules
C. all modules that are marked with a specified tag
D. None of the choices

Ans : A, B, C

Explanation : Modprobe is used to load a single module, a stack of dependent modules, or all modules that are marked with a specified tag.

024. Modprobe will automatically load all base modules needed in the modules stack as described by its dependency file. What file is this ?

A. modules.dep
B. modprobe.deb
c. module.dep
D. modep.dep

Ans : A

Explanation : Modprobe will automatically load all base modules needed in a module stack, as described by the dependency file modules.dep. If the loading of one of these modules files, the whole current stack of modules loaded in the current session will be unloaded automatically.


025. Which utility is used to create or update the modules.dep file ? Type the command only.

Ans : depmod


026. Type in the simplest command to list all loaded modules:

Ans : lsmod


027. You wish to get information on a module called msdos.o. Type in the simplest command that would list all information including author and description for the module:


Ans : modinfo msdos


028. You have a module called msdos.o which has a dependancy on fat.o. What single command will load msdos.o and its dependant fat.o module in one command line ?


Ans : modprobe msdos


029. Type in the simplest command, including any switches, to rebuild the modules.dep file after you have made changes to the modules.conf file :

Ans : depmod -a


030. Type in the command to list your current kernel version, including any switches

Ans : uname -a

Explanation : uname -a or uname -r

No comments:

Post a Comment