📄 tp.5
字号:
.\" SCCSID: @(#)tp.5 8.1 9/11/90.TH tp 5 "" "" Unsupported.SH Nametp \- DEC/mag tape formats.SH DescriptionThe.PN tpfiledumps files to and extracts files frommagtape.The formats of these tapes are the same exceptthat magtapes have larger directories..PPBlock zero contains acopy of a stand-alone bootstrap program.For further information, see reboot(8)..PPBlocks 1 through 62 for magtapecontain 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:.EXstruct { char pathname[32]; unsigned short mode; char uid; char gid; char unused1; char size[3]; long modtime; unsigned short tapeaddr; char unused2[16]; unsigned short checksum;};.EE.PPThe 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. For further information, see file system fs(5).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..PPBlocks above 25 (resp. 63) are available for file storage..PPA fake entryhas a size of zero..SH See Alsotp(1), fs(5)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -