📄 rk.4
字号:
.th RK IV 10/15/73.sh NAMErk \*- RK-11/RK03 (or RK05) disk.sh DESCRIPTION.it Rk?refers to an entire RK03 disk as a single sequentially-addressedfile.Its 256-word blocks are numbered 0 to 4871..s3Drive numbers (minor devices)of eight and larger are treated specially.Drive 8+\fIx\fR is the \fIx\fR+1 wayinterleaving of devicesrk0 to rk\fIx\fR.Thus blocks on rk10 are distributed alternatelyamong rk0, rk1, and rk2..s3The.it rkfilesdiscussed above access the disk via the system's normalbuffering mechanismand may be read and written without regard tophysical disk records.There is also a ``raw'' interfacewhich provides for direct transmission between the diskand the user's read or write buffer.A single read or write call results in exactly one I/O operationand therefore raw I/O is considerably more efficient whenmany words are transmitted.The names of the raw RK filesbegin with.it rrkand end with a number which selects the same diskas the corresponding.it rkfile..s3In raw I/O the buffer must begin on a word boundary,and counts should be a multiple of 512 bytes(a disk block).Likewise.it seekcalls should specify a multiple of 512 bytes..sh FILES/dev/rk?, /dev/rrk?.sh BUGSCare should be taken in using the interleaved files.First, the same drive should not be accessed simultaneouslyusing the ordinary name and as part of an interleaved file,because the same physicalblockshave in effect two differentnames; this fools the system's buffering strategy.Second, the combined files cannot be used for swappingor raw I/O.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -