From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.231.202 with SMTP id ti10mr13383856pbc.5.1329718061418; Sun, 19 Feb 2012 22:07:41 -0800 (PST) Path: wr5ni46340pbc.0!nntp.google.com!news2.google.com!news4.google.com!feeder3.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!192.87.166.28.MISMATCH!tudelft.nl!txtfeed1.tudelft.nl!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!aioe.org!.POSTED!not-for-mail From: paramucho@hotmail.com (paramucho) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Mon, 20 Feb 2012 06:07:37 GMT Organization: Aioe.org NNTP Server Message-ID: <4f44e048.2611144@nntp.aioe.org> References: <4f37ec05.63303162@nntp.aioe.org> <4f3a87d9.14307647@nntp.aioe.org> <4f3ca414.21534066@nntp.aioe.org> <4f3dab02.35785786@nntp.aioe.org> <4f3d06f0.6951576@nntp.aioe.org> <4f3f4ae9.40953632@nntp.aioe.org> <4f41ae68$0$281$14726298@news.sunsite.dk> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: CmgvwL3sOlojnxUjt8znzA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 1.5/32.451 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Sun, 19 Feb 2012 21:22:03 -0500, "Jerome H. Fine" wrote: >I have been following Johnny's and Ian's discussion, but since I know >so little about the internals of RSX-11 and VMS, I have not commented. > > >Johnny Billquist wrote: > >> $OPEN, $CLOSE, and so on, are in RMS. RMS in turn do $QIO calls to >> perform the neccesary operations on the device. $QIO is the system >> call. $OPEN is an RMS function. RMS can, and will, definitely call the >> system to perform operations. But you can also circumvent RMS if you >> want to, by calling the device directly on your own. > >Under RT-11, many of the distributed SAV programs >circumvent the USR and perform disk I/O directly, >especially when READ ONLY access to the disk >is sufficient. > >DIR, PIP and BINCOM are examples. They read >the directories to obtain access to the files on the >disk, in particular when a "wild card" specification >is used for the files name. I would imagine that this >would allow a system job access to the directory >on the disk even if a lower priority job was using the >USR. I have never tested to determine if this is true, >but it is very likely. > >Sometimes, both direct access and the USR are required, >in particular when some files are read and others are >written. If examples of this type of activity are of interest, >please ask. RT-11 does not provide a directory scan system call, so utilities must access the directory directly to scan them. RT-11 guarantees that a directory structure begins at block 6 of a file structured device. Early versions of RT-11 supported a mechanism by which the USR would "callback" a program at critical points with a pointer to the directory entry being processed. Most if not all this utility code has been replaced by later system calls which read and write individual directory entries without a callback. However, except for disk initialization etc, no RT-11 utility directly modifies a directory with a .READ/.WRITE sequence. RT-11 magtape and cassette drivers are "special devices" with their own built-in ACPs. Directory operations on these devices may be handled via the USR or by using .SPFUN (special functions) to communicate directly with the driver. In this case the operation is analogous to the RSX QIO interface. Since tape devices can be particularly time consuming it is sometimes advantageous to handle their directory operations without blocking the USR. The "special device" interface and RT-11 directory structure can be used to simulate other kinds of devices. I use these two features to implement a transparent remote file system which permits PDP-11 users access remote directories as if they were local. Ian