----- Quoting [email protected] ---------
     Date: Sat, 16 Aug 2014 16:42:14 -0300
     From: Sergio Belkin <[email protected]>
  Subject: [lpi-discuss] Content of /, /boot , and /lib/modules
       To: "General discussion relating to LPI." <[email protected]>


> Hi,
>
> When at 201.3 it says:
>
> "Content of /, /boot , and /lib/modules"
>
> What is talking about it?
>
> Is it not a repeatition of "104.7 Find system files and place files in the
> correct location... Know the location and purpose of important file and
> directories as defined in the FHS. " ?

   Topic 104.7 means the candidate is expected to be knowledgeable  
about this material:
http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html

e.g., {,s}he is supposed to know that:

###  Start Quote  ###
/boot : Static files of the boot loader
Purpose

This directory contains everything required for the boot process  
except configuration files not needed at boot time and the map  
installer. Thus /boot stores data that is used before the kernel  
begins executing user-mode programs. This may include saved master  
boot sectors and sector map files. [2]
Specific Options

The operating system kernel must be located in either / or /boot. [3]
###  End Quote  ###

   Topic 201.3 means that the candidate must know, for instance, that  
in order to (re)create a valid GRUB2 config file the following command  
must be run:

root@localhost ~ # grub-mkconfig -o /boot/grub/grub.cfg

or (in Fedora/RedHat):

root@localhost ~ # grub2-mkconfig -o /boot/grub2/grub.cfg

Another example: in order to recreate the kernel modules dependency  
file, /lib/modules/$(uname -r)/modules.dep, the depmod command is  
required.

> Thanks in advance!


   You're welcome.


   Greetings,


Alessandro
_______________________________________________
lpi-discuss mailing list
[email protected]
http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-discuss

Reply via email to