|
|
1.1 root 1: .TH HP 4
2: .UC 4
3: .SH NAME
4: hp \- RP06, RM03, RM-05 moving-head disk
5: .SH DESCRIPTION
6: Files with minor device numbers 0 through 7 refer to various portions
7: of drive 0;
8: minor devices 8 through 15 refer to drive 1, etc.
9: .PP
10: The origin and size of the pseudo-disks on each drive are
11: as follows:
12: .PP
13: .nf
14: .ta .5i +\w'000000 'u +\w'000000 'u
15: RP03 partitions
16: disk start length
17: 0 0 15884
18: 1 15884 33440
19: 2 40964 8360
20: 3 0 0
21: 4 0 0
22: 5 0 0
23: 6 49324 291346
24: 7 0 0
25: .PP
26: .nf
27: RM03 partitions
28: disk start length
29: 0 0 15884
30: 1 16000 33440
31: 2 0 0
32: 3 0 0
33: 4 0 0
34: 5 0 0
35: 6 49600 82080
36: 7 0 0
37: .PP
38: .nf
39: RM05 partitions
40: disk start length
41: 0 0 15884
42: 1 16416 33440
43: 2 0 500992
44: 3 341696 15884
45: 4 358112 55936
46: 5 414048 36944
47: 6 341696 159296
48: 7 49856 291346
49: .fi
50: .DT
51: .PP
52: It is unwise for all of these files to be present in one installation,
53: since there is overlap in addresses and protection becomes
54: a sticky matter.
55: Ordinarily devices 0 and 6
56: on rp06 and rm03 drives,
57: and 0, 7, and either 6 or 5, 6, and 7 on rm05 drives.
58: Note that the file system sizes are chosen to allow the partitions
59: to be copied between the rp06's and rm05's.
60: This is done so that systems with mixed drives
61: will be able to rearrange file systems easily
62: (see also
63: .IR up (4)).
64: Device 2 is the entire pack,
65: and is used in pack-to-pack copying.
66: .PP
67: The
68: block
69: files
70: access the disk via the system's normal
71: buffering mechanism
72: and may be read and written without regard to
73: physical disk records.
74: There is also a `raw' interface
75: which provides for direct transmission between the disk
76: and the user's read or write buffer.
77: A single read or write call results in exactly one I/O operation
78: and therefore raw I/O is considerably more efficient when
79: many words are transmitted.
80: The names of the raw files
81: conventionally
82: begin with
83: an extra `r.'
84: .SH FILES
85: .ta 2i
86: /dev/rp[0-3][a-h] block files
87: .br
88: /dev/rrp[0-3][a-h] raw files
89: .SH SEE ALSO
90: rp(4)
91: .SH BUGS
92: In raw I/O
93: .I read
94: and
95: .IR write (2)
96: truncate file offsets to 512-byte block boundaries,
97: and
98: .I write
99: scribbles on the tail of incomplete blocks.
100: Thus,
101: in programs that are likely to access raw devices,
102: .I read, write
103: and
104: .IR lseek (2)
105: should always deal in 512-byte multiples.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.