|
|
1.1 root 1: .pa 1
2: .he 'TAP (V)'6/12/72'TAP (V)'
3: .ti 0
4: NAME tap -- DEC/mag tape formats
5: .sp
6: .ti 0
7: DESCRIPTION The
8: DECtape command tap___ and
9: the magtape command mt__
10: dump and extract files to and
11: from their respective tape media.
12: The formats of these tapes are the same except
13: that magtapes have larger directories.
14: .sp
15: Block zero of the tape is not used.
16: It is available to contain a boot program to be
17: used in a stand-alone environment.
18: This has proved valuable for DEC diagnostic programs.
19: .sp
20: Blocks 1 through 24
21: for DECtape (1 through 146 for magtape)
22: contain a directory of the tape.
23: There are 192 (resp. 1168) entries in the directory;
24: 8 entries per block;
25: 64 bytes per entry.
26: Each entry has the following format:
27: .sp
28: .in +3
29: path name 32 bytes
30: .br
31: mode 1 byte
32: .br
33: uid 1 byte
34: .br
35: size 2 bytes
36: .br
37: time modified 4 bytes
38: .br
39: tape address 2 bytes
40: .br
41: unused 20 bytes
42: .br
43: check sum 2 bytes
44: .sp
45: .in -3
46: The path name entry is the path name of the
47: file when put on the tape.
48: If the pathname starts with a zero word,
49: the entry is empty.
50: It is at most 32 bytes long and ends in a null byte.
51: Mode, uid, size and time modified
52: are the same as described under i-nodes (see file system (V))
53: The tape address is the tape block number of the start of
54: the contents of the file.
55: Every file
56: starts on a block boundary.
57: The file occupies (size+511)/512 blocks
58: of continuous tape.
59: The checksum entry has a value such that
60: the sum of the 32 words of the directory entry is zero.
61: .sp
62: Blocks 25 (resp. 147) on are available for file storage.
63: .sp
64: A fake entry (see mt(I), tap(I))
65: has a size of zero.
66: .sp
67: .ti 0
68: SEE ALSO filesystem(V), mt(I), tap(I)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.