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

📄 tp.5

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 5
字号:
.th TP V 9/10/73.sh NAMEtp \*- DEC/mag tape formats.sh DESCRIPTIONThecommand.it tpdumps files to and extracts files fromDECtape and magtape.The formats of these tapes are the same exceptthat magtapes have larger directories..s3Block zero contains acopy of a stand-alone bootstrap program.See boot procedures (VIII)..s3Blocks 1 through 24for DECtape (1 through 62 for magtape)contain a directory of the tape.There are 192 (resp. 496) entries in the directory;8 entries per block;64 bytes per entry.Each entry has the following format:.s3.lp +24 20path name	32 bytes.lp +24 20mode	2 bytes.lp +24 20uid	1 byte.lp +24 20gid	1 byte.lp +24 20unused	1 byte.lp +24 20size	3 bytes.lp +24 20time modified	4 bytes.lp +24 20tape address	2 bytes.lp +24 20unused	16 bytes.lp +24 20check sum	2 bytes.s3.i0The path name entry is the path name of thefile when put on the tape.If the pathname starts with a zero word,the entry is empty.It is at most 32 bytes long and ends in a null byte.Mode, uid, gid, size and time modifiedare the same as described under i-nodes (file system (V)).The tape address is the tape block number of the start ofthe contents of the file.Every filestarts on a block boundary.The file occupies (size+511)/512 blocksof continuous tape.The checksum entry has a value such thatthe sum of the 32 words of the directory entry is zero..s3Blocks 25 (resp. 63) on are available for file storage..s3A fake entry (see tp (I))has a size of zero..sh "SEE ALSO"file system (V), tp (I)

⌨️ 快捷键说明

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