全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Directory entry?

Definition 14.5 University Computer Science — Year 2 · 第 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.
在原文中阅读 →