⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 directory.5

📁 UNIX版本6的源代码
💻 5
字号:
.th DIRECTORY V 9/10/73.sh NAMEdir \*- format of directories.sh DESCRIPTIONA directorybehaves exactly like an ordinary file, save that nouser may write into a directory.The fact that a file is a directory is indicated bya bit in the flag word of its i-node entry.Directory entries are 16 bytes long.The first word is the i-number of the file representedby the entry, if non-zero; if zero, the entry is empty..s3Bytes 2-15 represent the (14-character)file name, null padded on the right.These bytes are not cleared for empty slots..s3By convention, the first two entries in each directoryare for ``\fB.\fR'' and ``\fB..\fR''.  The first is an entry for thedirectory itself.  The second is for the parentdirectory.The meaning of ``\fB..\fR'' is modified for the root directoryof the master file system and for the root directories of removablefile systems.In the first case, there is no parent, and in the second,the system does not permit off-device references.Therefore in both cases ``\fB..\fR'' has thesame meaning as ``\fB.\fR''..sh "SEE ALSO"file system (V)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -