rf.4

来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 4 代码 · 共 47 行

4
47
字号
.TH RF 4 .SH NAMErf \- RF11/RS11 fixed-head disk file.SH DESCRIPTIONThis file refers to theconcatenation of all RS-11 disks..PPEach disk contains 1024 256-word blocks.The length of the combined RF file is1024\(mu(minor+1) blocks.That is minor device zerois taken to be1024 blocks long;minor device one is 2048,etc..PPThe.I rf0fileaccesses 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 name of the raw RF file is.IR rrf0 .The same minor device considerationshold for the raw interface as for the normal interface..PPIn raw I/O the buffer must begin on a word boundary,and counts should be a multiple of 512 bytes(a disk block).Likewise.I seekcalls should specify a multiple of 512 bytes..SH FILES/dev/rf0, /dev/rrf0.SH BUGSThe 512-byte restrictions on the raw device are notphysically necessary,but are still imposed.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?