Research V7 release
[unix-history] / usr / man / man4 / rp.4
CommitLineData
70b96c2d
DR
1.TH RP 4
2.SH NAME
3rp \- RP-11/RP03 moving-head disk
4.SH DESCRIPTION
5The files
6.I "rp0 ... rp7"
7refer to sections of RP disk drive 0.
8The files
9.I "rp8 ... rp15"
10refer to drive 1 etc.
11This allows a large disk to be broken up
12into more manageable pieces.
13.PP
14The origin and size of the pseudo-disks on each drive are
15as follows:
16.PP
17.br
18 disk start length
19.br
20 0 0 81000
21.br
22 1 0 5000
23.br
24 2 5000 2000
25.br
26 3 7000 74000
27.br
28 4-7 unassigned
29.PP
30Thus rp0 covers the whole drive,
31while rp1, rp2, rp3 can serve usefully as a root, swap, and
32mounted user file system respectively.
33.PP
34The
35.I rp
36files
37access the disk via the system's normal
38buffering mechanism
39and may be read and written without regard to
40physical disk records.
41There is also a `raw' interface
42which provides for direct transmission between the disk
43and the user's read or write buffer.
44A single read or write call results in exactly one I/O operation
45and therefore raw I/O is considerably more efficient when
46many words are transmitted.
47The names of the raw RP files
48begin with
49.I rrp
50and end with a number which selects the same disk
51section as the corresponding
52.I rp
53file.
54.PP
55In raw I/O the buffer must begin on a word boundary.
56.SH FILES
57/dev/rp?, /dev/rrp?
58.SH SEE ALSO
59hp(4)
60.SH BUGS
61In raw I/O
62.I read
63and
64.IR write (2)
65truncate file offsets to 512-byte block boundaries,
66and
67.I write
68scribbles on the tail of incomplete blocks.
69Thus,
70in programs that are likely to access raw devices,
71.I read, write
72and
73.IR lseek (2)
74should always deal in 512-byte multiples.