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

  1. .th RF IV 10/15/73
  2. .sh NAME
  3. rf \*- RF11/RS11 fixed-head disk file
  4. .sh DESCRIPTION
  5. This file refers to the
  6. concatenation of all RS-11 disks.
  7. .s3
  8. Each disk contains 1024 256-word blocks.
  9. The length of the combined RF file is
  10. 1024\*X(minor+1) blocks.
  11. That is minor device zero
  12. is taken to be
  13. 1024 blocks long;
  14. minor device one is 2048,
  15. etc.
  16. .s3
  17. The
  18. .it rf0
  19. file
  20. accesses the disk via the system's normal
  21. buffering mechanism
  22. and may be read and written without regard to
  23. physical disk records.
  24. There is also a ``raw'' interface
  25. which provides for direct transmission between the disk
  26. and the user's read or write buffer.
  27. A single read or write call results in exactly one I/O operation
  28. and therefore raw I/O is considerably more efficient when
  29. many words are transmitted.
  30. The name of the raw RF file is
  31. .it rrf0.
  32. The same minor device considerations
  33. hold for the raw interface as for the normal interface.
  34. .s3
  35. In raw I/O the buffer must begin on a word boundary,
  36. and counts should be a multiple of 512 bytes
  37. (a disk block).
  38. Likewise
  39. .it seek
  40. calls should specify a multiple of 512 bytes.
  41. .sh FILES
  42. /dev/rf0, /dev/rrf0
  43. .sh BUGS
  44. The 512-byte restrictions on the raw device are not
  45. physically necessary,
  46. but are still imposed.
  47.