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

  1. .th HP IV 2/9/75
  2. .sh NAME
  3. hp \*- RH-11/RP04 moving-head disk
  4. .sh DESCRIPTION
  5. The files
  6. .it "hp0 ... hp7"
  7. refer to sections of RP disk drive 0.
  8. The files
  9. .it "hp8 ... hp15"
  10. refer to drive 1 etc.
  11. This is done since the size of
  12. a full RP drive is 170,544 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    9614
  27. .br
  28.     1    18392    65535
  29. .br
  30.     2    48018    65535
  31. .br
  32.     3    149644    20900
  33. .br
  34.     4    0    40600
  35. .br
  36.     5    41800    40600
  37. .br
  38.     6    83600    40600
  39. .br
  40.     7    125400    40600
  41. .s3
  42. It is unwise for all of these files to be present in one installation,
  43. since there is overlap in addresses and protection becomes
  44. a sticky matter.
  45. .s3
  46. The
  47. .it hp
  48. files
  49. access the disk via the system's normal
  50. buffering mechanism
  51. and may be read and written without regard to
  52. physical disk records.
  53. There is also a ``raw'' interface
  54. which provides for direct transmission between the disk
  55. and the user's read or write buffer.
  56. A single read or write call results in exactly one I/O operation
  57. and therefore raw I/O is considerably more efficient when
  58. many words are transmitted.
  59. The names of the raw RP files
  60. begin with
  61. .it rhp
  62. and end with a number which selects the same disk
  63. section as the corresponding
  64. .it hp
  65. file.
  66. .s3
  67. In raw I/O the buffer must begin on a word boundary,
  68. and counts should be a multiple of 512 bytes
  69. (a disk block).
  70. Likewise
  71. .it seek
  72. calls should specify a multiple of 512 bytes.
  73. .sh FILES
  74. /dev/hp?, /dev/rhp?
  75. .sh BUGS
  76.