Saturday, August 15, 2009

LPI 102v part_006

051. Which of the following insures that all of the dependencies, such as the include files, are in place?

A. make dep
B. make clean
C. make_dep
D. make_install

Ans : A

Explanation : When the configure script ends, it also tells you to 'make dep' and (possibly) 'clean'. So, do the 'make dep'. This insures that all of the dependencies, such the include files, are in place. It does not take long, unless your computer is fairly slow to begin with. For older versions of the kernel, when finished, you should do a 'make clean'. This removes all of the object files and some other things that an old version leaves behind. in any case, do not forget this step before attempting to recompile a kernel.


052. Incremental upgrades of the kernel are distributed as :

A. patches
B. fixes
C. hotfixes
D. service packs

Ans : A

Explanation : Incremental upgrades of the kernel are distributed as patches.


053. Which of the following removes all of the object files and some other things that an old version leaves behind ?

A. make dep
B. make clean
C. make_deb
D. make_install

Ans : B

Explanation : When the configure script ends, it also tells you to 'make dep' and (possibly) 'clean'. So, do the 'make dep'. This insures that all of the dependencies, such the include files, are in place. It does not take long, unless your computer is fairly slow to begin with. For older versions of the kernel, when finished, you should do a 'make clean'. This remove all of the object files and some other things that an ond version leaves behind. In any case, do not forget this step before attempting to recompile a kernel.

054. What command will compile the Linux kernel and leave a file in arch/i386/boot called bzImage?

A. make bzImage
B. make compile
C. make Image
D. make bzdisk

Ans : A

Explanation : After depending and cleaning, you may now 'make bzImage' or 'make bzdisk' (this is the part that takes a long time. ). 'make bzImage' will compile the kernel, and leave a file in arch/i386/boot called 'bzImage' (among other things). This is the new compressed kernel. 'make bzdis' does the same thing, but also places the new bzImage on a floppy disk which you hopefully but in drive ''A:''. 'bzdisk' is fairly handy for Certkiller new kernel; if it bombs (or just' work right), just remove the floppy and boot with your old kernel. It can also be a handy way to boot if you accidentally remove your kernel (or something equvally as dreadful).


055. What command will compile the Linux kernel and leave a file called bzImage in the floppy disk ?

A. make bzImage
B. make compile
C. make Image
D. make bzDisk

Ans : D

Explanation : After depending and cleaning, you may now 'make bzImage' or 'make bzdisk' (this is the part that takes a long time. ). 'make bzImage' will compile the kernel, and leave a file in arch/i386/boot called 'bzImage' (among other things). This is the new compressed kernel. 'make bzdis' does the same thing, but also places the new bzImage on a floppy disk which you hopefully but in drive ''A:''. 'bzdisk' is fairly handy for Certkiller new kernel; if it bombs (or just' work right), just remove the floppy and boot with your old kernel. It can also be a handy way to boot if you accidentally remove your kernel (or something equvally as dreadful).


056. Which of the following command will attempt to configure the kernel from an old configuration file and run through the make config process for you ?

A. make oldconfig
B. make newconfig
C. make clean
D. None of the choices

Ans : A

Explanation : Make oldconfig will attempt to configure the kernel from an old configure file; it will run through make config process for you if you havent ever compiled a kernel befor or don't have an old config file, then you probably should't do this, as you will most likely want to change the default configuration.

057. To produce a compiled kernel with slightly better than standard compressio, type the command with and options and arguments to accomplish just the compilation.

Ans: make bzImage

058. You are using X and wish to build a new kernel. What x tool would you use to build the .config file. Type in just the command, not the switches:

Ans : make xconfig

059. Type in the command to compile a kernel image with normal compression :

Ans : make zImage

060. Which of the following is not a valid make command during a kernel recompile ?

A. make dep
B. make clean
C. make xconfig
D. make modules
E. make gzlilo

Ans : E

No comments:

Post a Comment