File:  [Research Unix] / researchv10dc / dist / man / v3 / man4 / rf.4
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.pa 1
.he 'RF (IV)'3/15/72'RF (IV)'
.ti 0
NAME		rf  --  RF11-RS11 fixed-head disk file
.sp
.ti 0
DESCRIPTION	This file refers to the
concatenation of both RS-11 disks.
It may be either read or written, although writing is inherently
very dangerous, since
a file system resides there.

The disk contains 2048 256-word blocks,
numbered 0 to 2047.
Like the other block-structured devices (TC, RK)
this file is addressed in blocks, not bytes.
This has two consequences:
seek____ calls refer to block numbers, not byte numbers;
and sequential reading or writing always advance the read
or write pointer by at least one block.
Thus successive reads of 10 characters from this file
actually read the first 10 characters from successive
blocks.
.sp
.ti 0
FILES		/dev/rf0
.sp
.ti 0
SEE ALSO	tc(IV), rk(IV)
.sp
.ti 0
BUGS		The fact that this device
is addressed in terms of blocks, not bytes, is extremely
unfortunate.  It is due entirely to the fact that
read and write pointers (and consequently the arguments
to seek____) are single-precision
numbers.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.