From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: ffc31,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail From: Rich Alderson Newsgroups: alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Y3K for PDP-11 Operating Systems Date: 27 May 2011 14:51:01 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Sender: alderson+news@panix5.panix.com Message-ID: References: <4d99c3b6$0$23756$14726298@news.sunsite.dk> <940bm5Fcc3U1@mid.individual.net> <941ob1Fre1U1@mid.individual.net> <9425gcFhnpU1@mid.individual.net> <942hghFhukU1@mid.individual.net> <944mhrF19qU1@mid.individual.net> NNTP-Posting-Host: panix5.panix.com X-Trace: reader1.panix.com 1306522263 16694 166.84.1.5 (27 May 2011 18:51:03 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Fri, 27 May 2011 18:51:03 +0000 (UTC) X-Newsreader: Gnus v5.7/Emacs 22.3 Xref: g2news1.google.com alt.sys.pdp11:2208 comp.sys.dec:3424 vmsnet.pdp-11:619 Johnny Billquist writes: > You are all missing the point with regards to disks here. It don't > matter what the OS presents you with. That is an abstraction layer. The > actual, physical disk use disk blocks. Not a stream of bytes. (Well, > there were actually some disks in the old days who almost did, but that > is another story, and besides, it's not totally a stream of bytes even > for those). No, as a matter of fact, we are *not* missing the point: Disk access is in blocks. On the PDP-10 under Tops-10, TOPS-20 and TENEX (and probably ITS, those blocks are 128 words long (plus some overhead for parity, checksums and the like that are invisible to the programmer), while on IBM System/360 family systems, the size of the block is under programmer control but is still the addressable unit of storage on the disk. The abstraction layer from the OS may or may not hide block size from you. Tops-10, for example, does not. TENEX/TOPS-20 presents disk data to the programmer in 512-word (4 block) pages (or in bytes or byte-strings or integers or floating-point numbers, depending on system call, but the OS buffers are in pages). Prior to the introduction of virtual memory to IBM's computers, the OS never hid the block size from you. With the advent of VSAM (Virtual Storage Access Method), disks could be blocked at something other than the programmer's whim, though the older access methods could still be used as well. But in none of these cases does the OS force the view of a disk as a stream of bytes. -- Rich Alderson news@alderson.users.panix.com the russet leaves of an autumn oak/inspire once again the failed poet/ to take up his pen/and essay to place his meagre words upon the page...