Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Directory entry » ?

Definition 14.5 University Computer Science — Year 2 · Chapitre 14 — Files, Pipes and Signals

A directory is a file whose contents is a table of directory entries, each a pair of a name and an inode number. A hard link is a second entry for an existing inode; a symbolic link is a small file whose contents is a path.

A directory as a table of names. Two entries lead to inode A; the symbolic link’s inode B holds the path hours.txt, looked up by name each time it is used, so removing the name hours.txt breaks it but not opening.txt.
A directory as a table of names. Two entries lead to inode A; the symbolic link’s inode B holds the path hours.txt, looked up by name each time it is used, so removing the name hours.txt breaks it but not opening.txt.
Lire dans le chapitre →