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

📄 hp.4

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 4
字号:
.th HP IV 2/9/75.sh NAMEhp \*- RH-11/RP04 moving-head disk.sh DESCRIPTIONThe files.it "hp0 ... hp7"refer to sections of RP disk drive 0.The files.it "hp8 ... hp15"refer to drive 1 etc.This is done since the size ofa full RP drive is 170,544 blocks andinternally the system is only capableof addressing 65536blocks.Also since the disk is so large,this allows it to be broken upinto more manageable pieces..s3The origin and size of the pseudo-disks on each drive areas follows:.s3.br	disk	start	length.br	0	0	9614.br	1	18392	65535.br	2	48018	65535.br	3	149644	20900.br	4	0	40600.br	5	41800	40600.br	6	83600	40600.br	7	125400	40600.s3It is unwise for all of these files to be present in one installation,since there is overlap in addresses and protection becomesa sticky matter..s3The.it hpfilesaccess 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 RP filesbegin with.it rhpand end with a number which selects the same disksection as the corresponding.it hpfile..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/hp?, /dev/rhp?.sh BUGS

⌨️ 快捷键说明

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