|
Question 1. What command would load the module msdos.o and all its dependancies? A. modinfo -a msdos B. lsmod -a msdos C. modprobe msdos D. insmod -d msdos Answer: C Explanation: modprobe command is used to load or unload the modules as well as it's dependencies from the kernel. To Load the module: modprobe modulename To unload the module modprobe -r modulename Question 2. What command will unload a kernel module? A. rmmod B. unmod C. delmod D. modprobe E. unloadmod Answer: A Explanation: rmmod is the simple program, which remove the modules from the kernel. To unload module from kernel. rmmod modulename or modprobe modulename Question 3. CORRECT TEXT The _____ command will list the currently loaded kernel modules. Answer: lsmod Explanation: lsmod command displays all modules loaded by kernel as well as modules status on current session. See the sample output of lsmod command Module Size Used by i915 81349 2 md5 4033 1 ipv6 232705 10 parport_pc 24705 1 lp 12077 0 parport 37129 2 parport_pc,lp autofs4 23237 0 sunrpc 157093 1 dm_mod 54741 2 button 6481 0 battery 8901 0 ac 4805 0 raid1 19905 1 uhci_hcd 31065 0 ehci_hcd 30917 0 snd_intel8x0 33769 0 snd_ac97_codec 63889 1 snd_intel8x0 snd_pcm_oss 49017 0 snd_mixer_oss 17985 1 snd_pcm_oss snd_pcm 96841 2 snd_intel8x0,snd_pcm_oss snd_timer 29893 1 snd_pcm snd_page_alloc 9673 2 snd_intel8x0,snd_pcm snd_mpu401_uart 8769 1 snd_intel8x0 snd_rawmidi 26597 1 snd_mpu401_uart snd_seq_device 8137 1 snd_rawmidi snd 54949 9 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_raw soundcore 9889 1 snd 8139too 25921 0 mii 4673 1 8139too floppy 58481 0 ext3 116809 6 jbd 71257 1 ext3 Question 4. CORRECT TEXT You wish to remove a module from the kernel called fat. Assume this module has no dependancies. Type in the simplest command to do this: Answer: rmmod fat Explanation: rmmod command removes the module from the kernel. If there are other dependencies modules then rmmod command can't remove the module. To remove the fat module from the kernel. rmmod fat Question 5. You have just added new modules to your system. What command would you execute to rebuild the modules.dep file? A. depmod --rebuild B. update-dependancies C. depmod -a D. insmod -dependancies Answer: C Explanation: depmod creates a list of module dependencies, by reading each module under /lib/modules/version and determining what symbols it exports, and what symbols it needs. By default this list is written to modules.dep in the same directory. Question 6. Which of the following correctly describe the relationship between depmod and modprobe? A. depmod creates a dependency file for use by modprobe B. modprobe creates a dependency file for use by depmod C. they have no relationship D. they can replace each other Answer: A Explanation: depmod creates a list of module dependencies, by reading each module under /lib/modules/version and determining what symbols it exports, and what symbols it needs. By default this list is written to modules.dep in the same directory. modprobe command is used to load or unload the modules as well as it's dependencies from the kernel. To Load the module: modprobe modulename To unload the module modprobe -r modulename Question 7. The normal use of depmod is to include which of the following lines in one of the files in /etc/rc.d so the correct module dependencies will be available after booting the system? A. /sbin/depmod -a B. /sbin/depmod -p C. /sbin/depmod -r D. /sbin/depmod -c Answer: A Explanation: depmod creates a list of module dependencies, by reading each module under /lib/modules/version and determining what symbols it exports, and what symbols it needs. By default this list is written to modules.dep in the same directory. The normal use of depmod is to include the line /sbin/depmod -a in one of the files in /etc/rc.d so the correct module dependencies will be available after booting the system. Question 8. What command option of depmod allows you to print a list of all unresolved symbols? A. -e B. -l C. -i D. -a Answer: A Explanation: depmod creates a list of module dependencies, by reading each module under /lib/modules/version and determining what symbols it exports, and what symbols it needs. By default this list is written to modules.dep in the same directory. The normal use of depmod is to include the line /sbin/depmod -a in one of the files in /etc/rc.d so the correct module dependencies will be available after booting the system. depmod -e prints a list of all unresolved symbols. Question 9. Which of the following commands loads the module file into the kernel and changes any symbols that are defined on the command line? A. insmod B. depmod C. modprobe D. setmod Answer: A Explanation: insmod is a system administration command. Load the module file into the kernel, changing any symbols that are defined on the command line. If the module file is named file.o or file.mod, the module will be named file. Question 10. What option of the insmod command can you use to force the loading of module even if problems are encountered? A. -f B. -F C. -u D. -r Answer: A Explanation: insmod is a system administration command. -f: Force loading of module, even if some problems are encountered.
Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.