Le répertoire racine d'un système UNIX
ressemble à ceci:
drwxr-xr-x | 2 | root | root | 2048 | Aug | 25 | 14:04 | bin |
drwxr-xr-x | 2 | root | root | 1024 | Sep | 16 | 10:36 | boot |
drwxr-xr-x | 7 | root | root | 35840 | Aug | 26 | 17:08 | dev |
drwxr-xr-x | 41 | root | root | 4096 | Sep | 24 | 20:55 | etc |
drwxr-xr-x | 24 | root | root | 1024 | Sep | 27 | 11:01 | home |
drwxr-xr-x | 4 | root | root | 3072 | May | 19 | 10:05 | lib |
drwxr-xr-x | 2 | root | root | 12228 | Dec | 15 | 1998 | lost+found |
drwxr-xr-x | 7 | root | root | 1024 | Jun | 7 | 11:47 | mnt |
dr-xr-xr-x | 80 | root | root | 0 | Sep | 16 | 10:36 | proc |
drwxr-xr-x | 3 | root | root | 3072 | Sep | 23 | 23:41 | sbin |
drwxrwxrwt | 5 | root | root | 4096 | Sep | 28 | 18:12 | tmp |
drwxr-xr-x | 25 | root
|
root
|
1024 | May | 29 | 10:23 | usr
|
drwxr-xr-x | 9 | root | root | 1024 | May | 15 | 11:49 | X11R6 |
drwxr-xr-x | 6 | root | root | 27648 | Sep | 28 | 17:18 | bin |
drwxr-xr-x | 2 | root | root | 1024 | May | 13 | 16:46 | dict |
drwxr-xr-x | 261 | root | root | 7168 | Sep | 26 | 10:55 | doc |
drwxr-xr-x | 7 | root | root | 1024 | Sep | 3 | 08:07 | etc |
drwxr-xr-x | 2 | root | root | 2048 | May | 15 | 10:02 | games |
drwxr-xr-x | 4 | root | root | 1024 | Mar | 21 | 1999 | i386-redhat
-linux |
drwxr-xr-x | 36 | root | root | 7168 | Sep | 12 | 17:06 | include |
drwxr-xr-x | 2 | root | root | 9210 | Sep | 7 | 09:05 | info |
drwxr-xr-x | 79 | root | root | 12268 | Sep | 28 | 17:17 | lib |
drwxr-xr-x | 3 | root | root | 1024 | May | 13 | 16:21 | libexec |
drwxr-xr-x | 15 | root | root | 1024 | May | 13 | 16:35 | man |
drwxr-xr-x | 2 | root | root | 4096 | May | 15 | 10:02 | sbin |
drwxr-xr-x | 39 | root | root | 1024 | Sep | 12 | 17:07 | share |
drwxr-xr-x | 3 | root | root | 1024 | Sep | 4 | 14:38 | src |
drwxr-xr-x | 3 | root
|
root
|
1024 | Dec | 16 | 1998 | var
|
drwxr-xr-x | 3 | root | root | 4096 | Sep | 27 | 13:16 | bin |
drwxr-xr-x | 2 | root | root | 1024 | Feb | 6 | 1996 | doc |
drwxr-xr-x | 4 | root | root | 1024 | Sep | 3 | 08:07 | etc |
drwxr-xr-x | 2 | root | root | 1024 | Feb | 6 | 1996 | games |
drwxr-xr-x | 5 | root | root | 1024 | Aug | 21 | 19:36 | include |
drwxr-xr-x | 2 | root | root | 1024 | Sep | 7 | 09:08 | info |
drwxr-xr-x | 9 | root | root | 2048 | Aug | 21 | 19:44 | lib |
drwxr-xr-x | 12 | root | root | 1024 | Aug | 2 | 1998 | man |
drwxr-xr-x | 2 | root | root | 1024 | Feb | 6 | 1996 | sbin |
drwxr-xr-x | 15 | root
|
root
|
1024 | Sep | 7 | 09:08 | share
|
La superstructure contient toujours les sous-répertoires bin et lib; les autres sont optionnels.
Chaque paquet sera installé sous une superstructure. Ceci signifie qu'au cours du désempaquet, les fichiers seront distribués dans de nombreux sous-répertoires de la superstructure. Un paquet RedHat sera toujours installé dans la superstructure /usr ou /, sauf s'il s'agit d'une application du système X Window. Alors son installation aura lieu dans la superstructure /usr/X11R6. Certaines applications de grande taille peuvent être installées dans la superstructure /opt/<nom_de_paquet>, et les paquets ``faits-maison'' seront usuellement installés dans la superstructure /usr/local (où /local signifie ``spécifique à cette machine''). La superstructure de répertoires sous laquelle un paquet est installé est parfois appelée préfixe d'installation (ou installation prefix). Les paquets n'installent presque jamais leurs fichiers parmi des superstructures différentes. [Les fichiers de configuration font exception à cette règle. Ils sont répartis dans /etc].
Typiquement, la majorité d'un système est regroupée sous /usr. Ce répertoire peut être en lecture seule, vu que les paquets ne devraient jamais être écrits dans ce répertoire. Toute écriture se fait dans /var ou /tmp (/usr/var et /usr/tmp sont souvent liés par un lien symbolique à /usr ou /tmp, respectivement). La petite partie sous / qui n'appartient à aucune autre superstructure (soit environ 40 méga-octets) réalise l'essentiel des tâches d'administration. Ce sont les commandes nécessaires au montage et à la réparation du système en absence du répertoire /usr.
Voici la liste des sous-répertoires et leur description: