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 | ||
04-linux:10-administration:hierarchie [2019/05/14 00:31] – Roge | 04-linux:10-administration:hierarchie [2019/05/14 00:40] (Version actuelle) – Roge | ||
---|---|---|---|
Ligne 7: | Ligne 7: | ||
Les plus importants : | Les plus importants : | ||
- | * /bin This directory contains executable programs which are needed in single user mode and to bring the system up or repair it. | + | * /bin |
- | * /boot Contains static files for the boot loader. | + | This directory |
- | / | + | |
+ | |||
+ | Contains static files for the boot loader. | ||
- | / | + | |
- | subdirectories below /etc. Site-wide configuration files may be placed here or in / | + | |
- | should always look for these files in /etc and you may have links for these files to /usr/etc. | + | |
- | / | + | Special or device |
- | Host-specific configuration | + | |
- | / | + | |
- | this directory depends on local administration decisions | + | |
- | / | + | |
- | root filesystem. | + | |
- | /media This directory | + | Contains configuration files which are local to the machine. |
- | than one device exists for mounting a certain type of media, mount directories can be created by appending a digit to the | + | |
- | name of those available above starting with ' | + | |
- | / | + | |
- | ries intended | + | |
- | /opt This directory should contain | + | * /etc/opt |
+ | |||
+ | Host-specific configuration files for add-on | ||
- | /proc This is a mount point for the proc filesystem, which provides information about running processes and the kernel. | + | * /home |
- | pseudo-filesystem is described in more detail in proc(5). | + | |
- | / | + | On machines with home directories |
- | /sbin Like /bin, this directory holds commands needed to boot the system, but which are usually not executed by normal users. | + | * /lib |
- | / | + | This directory |
- | / | + | |
- | tured, following the formalism of kobject infrastructure. | + | |
- | / | + | This directory |
- | up. | + | |
- | / | + | |
- | can be mounted by various machines running Linux. | + | |
- | /usr/bin | + | This |
- | | + | |
- | booting or for repairing the system and which are not installed locally should be placed in this directory. | + | |
- | /usr/lib | + | * /opt |
- | Object libraries, including dynamic libraries, plus some executables which usually are not invoked directly. More complicated programs may have whole subdirectories there. | + | |
- | + | This directory should contain add-on packages that contain static files. | |
- | / | + | |
- | This is where programs which are local to the site typically go. | + | * /proc |
- | / | + | |
- | This directory | + | This is a mount point for the proc filesystem, which provides information about running processes and the kernel. |
- | | + | |
- | | + | * /root |
+ | |||
+ | This directory is usually the home directory for the root user (optional). | ||
+ | |||
+ | * /sbin | ||
+ | |||
+ | Like /bin, this directory holds commands needed to boot the system, but which are usually not executed by normal users. | ||
+ | |||
+ | * /srv | ||
+ | |||
+ | This directory contains site-specific data that is served by this system. | ||
+ | |||
+ | * /sys This is a mount point for the sysfs filesystem, which provides information about the kernel like /proc, but better structured, following the formalism of kobject infrastructure. | ||
+ | |||
+ | * /tmp This directory contains temporary files which may be deleted with no notice, such as by a regular job or at system | ||
+ | |||
+ | * /usr | ||
+ | |||
+ | * /usr/bin | ||
+ | |||
+ | This is the primary directory for executable programs. | ||
+ | |||
+ | * /usr/lib | ||
+ | |||
+ | Object libraries, including dynamic libraries, plus some executables which usually are not invoked directly. More complicated programs may have whole subdirectories there. | ||
+ | |||
+ | | ||
+ | |||
+ | This is where programs which are local to the site typically go. | ||
+ | |||
+ | * / | ||
+ | |||
+ | This directory | ||
+ | |||
+ | * /var | ||
+ | |||
+ | This directory contains files which may change in size, such as spool and log files. | ||
| |