⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hp.4

📁 unix v7是最后一个广泛发布的研究型UNIX版本
💻 4
字号:
.TH HP 4 .SH NAMEhp \- RH-11/RP04, RP05, RP06 moving-head disk.SH DESCRIPTIONThe octal representation of the minor device number is encoded.IR idp ,where.I iis an interleave flag,.I dis a physical drive number,and.I pis a pseudodrive (subsection) within a physical unit.If.I iis 0,the origins and sizes of the pseudodisks on each drive,counted in cylinders of 418 512-byte blocks, are:.nf.PP	disk	start	length	0	0	23	1	23	21	2	0	0	3	0	0	4	44	386	5	430	385	6	44	367	7	44	771.fi.PPIf.I iis 1, the minor device consists of the specified pseudodisk on drives numbered 0 through the designateddrive number.Successively numbered blocks are distributedacross the drives in rotation..PPSystems distributed for these devicesuse disk 0 for the root, disk 1 for swapping, anddisk 4 (RP04/5) or disk 7 (RP06) for a mounteduser file system..PPTheblockfilesaccess the disk via the system's normalbuffering mechanismand may be read and written without regard tophysical disk records..PPA `raw' interfaceprovides 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 filesconventionallybegin withan extra `r.'In raw I/O the buffer must begin on a word boundary,and raw I/O to an interleaved device is likely to havedisappointing results..SH FILES/dev/rp?, /dev/rrp?.SH SEE ALSOrp(4).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..PPRaw device drivers don't work on interleaved devices.

⌨️ 快捷键说明

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