📄 rk.4
字号:
.TH RK 4 .SH NAMErk \- RK-11/RK03 or RK05 disk.SH DESCRIPTION.I Rk?refers to an entire disk as a single sequentially-addressedfile.Its 256-word blocks are numbered 0 to 4871.Minor device numbers are drive numbers on one controller..PPThe.I 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.I rrkand end with a number which selects the same diskas the corresponding.I rkfile..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/rk?, /dev/rrk?.SH BUGSIn raw I/O.I readand.IR write (2)truncate file offsets to 512-byte block boundaries,and.I writescribbles on the tail of incomplete blocks.Thus,in programs that are likely to access raw devices,.I read, writeand.IR lseek (2)should always deal in 512-byte multiples.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -