home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man4 / rp.4 < prev    next >
Encoding:
Text File  |  1975-06-26  |  2.3 KB  |  100 lines

  1. .th RP IV 2/21/74
  2. .sh NAME
  3. rp \*- RP-11/RP03 moving-head disk
  4. .sh DESCRIPTION
  5. The files
  6. .it "rp0 ... rp7"
  7. refer to sections of RP disk drive 0.
  8. The files
  9. .it "rp8 ... rp15"
  10. refer to drive 1 etc.
  11. This is done since the size of
  12. a full RP drive is 81200 blocks and
  13. internally the system is only capable
  14. of addressing 65536
  15. blocks.
  16. Also since the disk is so large,
  17. this allows it to be broken up
  18. into more manageable pieces.
  19. .s3
  20. The origin and size of the pseudo-disks on each drive are
  21. as follows:
  22. .s3
  23. .br
  24.     disk    start    length
  25. .br
  26.     0    0    40600
  27. .br
  28.     1    40600    40600
  29. .br
  30.     2    0    9200
  31. .br
  32.     3    72000    9200
  33. .br
  34.     4    0    65535
  35. .br
  36.     5    15600    65535
  37. .br
  38.     6-7    unassigned
  39. .s3
  40. It is unwise for all of these files to be present in one installation,
  41. since there is overlap in addresses and protection becomes
  42. a sticky matter.
  43. Here is a suggestion for two useful configurations:
  44. If the root of the file system is on some other device
  45. and the RP used as a mounted device,
  46. then
  47. .it rp0
  48. and
  49. .it rp1,
  50. which divide the disk into two equal size portions, is a good idea.
  51. Other things being equal, it is advantageous to have two equal-sized portions
  52. since one can always be copied onto the other, which is occasionally useful.
  53. .s3
  54. If the RP is the only disk and has to
  55. contain the root and the swap area,
  56. the root can be put on
  57. .it rp2
  58. and a mountable file system on
  59. .it rp5.
  60. Then the swap space can be put in the
  61. unused blocks 9200 to 15600 of
  62. .it rp0
  63. (or, equivalently,
  64. .it rp4).
  65. This arrangement puts the root file system, the swap area,
  66. and the i-list of the mounted file system relatively
  67. near each other and thus tends to
  68. minimize head movement.
  69. .s3
  70. The
  71. .it rp
  72. files
  73. access the disk via the system's normal
  74. buffering mechanism
  75. and may be read and written without regard to
  76. physical disk records.
  77. There is also a ``raw'' interface
  78. which provides for direct transmission between the disk
  79. and the user's read or write buffer.
  80. A single read or write call results in exactly one I/O operation
  81. and therefore raw I/O is considerably more efficient when
  82. many words are transmitted.
  83. The names of the raw RP files
  84. begin with
  85. .it rrp
  86. and end with a number which selects the same disk
  87. section as the corresponding
  88. .it rp
  89. file.
  90. .s3
  91. In raw I/O the buffer must begin on a word boundary,
  92. and counts should be a multiple of 512 bytes
  93. (a disk block).
  94. Likewise
  95. .it seek
  96. calls should specify a multiple of 512 bytes.
  97. .sh FILES
  98. /dev/rp?, /dev/rrp?
  99. .sh BUGS
  100.