Home » LPI » 117-201 » What would you type to do this?
You have recently decided to convert from using a monolithic kernel to using a modular kernel. You have made the appropriate changes in your kernel configuration. Next you wish to compile your new kernel and modules and copy the modules to their proper location. What would you type to do this?
A. make modules modules_install
B. make bzImage modules modules_install
C. make mrproper modules modules_install
D. make dep clean modules modules_install
E. make dep clean bzImage modules modules_install
Correct Answer: E
Explanation/Reference:
Explanation: This command consists of multiple make commands on the same line:
The first part of the command, make dep, actually takes your configuration and builds the corresponding dependency tree. This process determines what gets compiled and what doesn’t.
The next step, make clean, erase all previous traces of a compilation so as to avoid any mistakes in which version of a feature gets tied into the kernel.
The next step, make bzImage does the full compilation of the kernel.
The next two steps, make modules and make modules_install will compile the modules and copy them to their appropriate location.
Reference: http://www.openna.com/community/articles/security/v1.3-xml/chap7sec84.html
Incorrect Answers
A:This command will compile the modules, but not the kernel.
B:You need the make dep command to build the dependency tree.
C:Make mrproper is similar to make clean except that it doesn’t delete any binaries. However, there is no kernel image specified in this command.
D:There is no kernel image specified in this command.
Download Printable PDF. VALID exam to help you PASS.
|
|