Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| elearning:workbooks:redhat:rh124en:l100 [2024/11/22 17:23] – admin | elearning:workbooks:redhat:rh124en:l100 [2024/11/22 17:46] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 114: | Ligne 114: | ||
| X11 Options: terminate: | X11 Options: terminate: | ||
| </ | </ | ||
| - | |||
| =====LAB #1 - Linux File Hierarchy System===== | =====LAB #1 - Linux File Hierarchy System===== | ||
| Ligne 149: | Ligne 148: | ||
| | **/bin** | Contains user programs such as ls, cp e.t.c.. Note that under RHEL 9, this is a soft link (shortcut) to **/ | | **/bin** | Contains user programs such as ls, cp e.t.c.. Note that under RHEL 9, this is a soft link (shortcut) to **/ | ||
| | **/boot** | Contains bootloader files, kernels and initrd (INItial Ram Disk) files. | | | **/boot** | Contains bootloader files, kernels and initrd (INItial Ram Disk) files. | | ||
| - | | **/dev** | Contains nodes for accessing all the peripherals and devices connected to the system. The //udev// binary takes care of dynamically creating and deleting the relevant nodes automatically. | | + | | **/dev** | Contains |
| | **/etc** | Contains static configuration files. | | | **/etc** | Contains static configuration files. | | ||
| | **/home** | Contains a directory for each registered user of the system except for root. | | | **/home** | Contains a directory for each registered user of the system except for root. | | ||
| - | | **/lib** | Contains | + | | **/lib** | Contains |
| - | | **/lib64** | Contains | + | | **/lib64** | Contains |
| | **/media** | Contains a folder for each of the mounted external file systems (CDRom DVDRom, USB Key e.t.c.). | | | **/media** | Contains a folder for each of the mounted external file systems (CDRom DVDRom, USB Key e.t.c.). | | ||
| | **/mnt** | Contains a folder for each external file system mounted temporarily by root. | | | **/mnt** | Contains a folder for each external file system mounted temporarily by root. | | ||
| Ligne 160: | Ligne 159: | ||
| | **/root** | The home directory of the root user. | | | **/root** | The home directory of the root user. | | ||
| | **/run** | Replaces the /var/run directory. Note that under RHEL 9, /var/run is a soft link (shorcut) to **/run**. | | | **/run** | Replaces the /var/run directory. Note that under RHEL 9, /var/run is a soft link (shorcut) to **/run**. | | ||
| - | | **/sbin** | Contains essential system administration | + | | **/sbin** | Contains essential system administration |
| | **/srv** | Contains site specific data **s**e**r****v**ed by the system (www, | | **/srv** | Contains site specific data **s**e**r****v**ed by the system (www, | ||
| | **/sys** | Contains a virtual file system that describes devices for //udev//. | | | **/sys** | Contains a virtual file system that describes devices for //udev//. | | ||
| Ligne 166: | Ligne 165: | ||
| | **/usr** | Contains user commands in /// | | **/usr** | Contains user commands in /// | ||
| | **/var** | Contains variable files. i.e. files that continually change such as log files and spool files. | | | **/var** | Contains variable files. i.e. files that continually change such as log files and spool files. | | ||
| + | |||
| + | Graphically, | ||
| + | |||
| + | {{ : | ||
| ====1.1 - File Types==== | ====1.1 - File Types==== | ||
| Ligne 388: | Ligne 391: | ||
| ====2.3 - Data blocks==== | ====2.3 - Data blocks==== | ||
| - | Data is stored in data blocks. In the case of a directory, the data block contains a table which references the inodes and file names in the directory. This table is called a **catalogue | + | Data is stored in data blocks. In the case of a directory, the data block contains a table which references the inodes and file names in the directory. This table is called a **catalog |
| - | The name of a file is not stored in the inode but in a **catalogue | + | The name of a file is not stored in the inode but in a **catalog |
| ====2.4 - Physical (hard) links==== | ====2.4 - Physical (hard) links==== | ||
| Ligne 457: | Ligne 460: | ||
| <WRAP center round important 60%> | <WRAP center round important 60%> | ||
| - | **Important**: | + | **Important**: |
| </ | </ | ||
| ----- | ----- | ||
| Copyright © 2024 Hugh Norris. | Copyright © 2024 Hugh Norris. | ||