[Info-vax] Orphaned processes on OpenVMS

Rob Brown mylastname at gmcl.com
Thu May 26 16:36:48 EDT 2011


On Thu, 26 May 2011 at 11:50 -0700, Johnny Billquist wrote:

> On 2011-05-26 11.43, Rob Brown wrote:
>> 
>> In VMS, as Bob says, you must initialize before you can mount.
>
> Interesting. So you (or anyone) is allowed to do I/O to an unmounted 
> disk?

Who prevents it in M-Plus?  I can't remember when or if I last tried 
this.  Can I not, as a privileged or as a non-privileged user, do 
disk-driver QIOs to an unmounted disk?  Somebody must be able to, 
otherwise how would MOUNT work?

I'll have to find some time to play.

> That would (to me) seem like a weird thing. So when is there ever a 
> point for foreign mounted disks in VMS?

Tradition?  Looks like RMS needs the disk to be mounted.  I wonder if 
RMS is used for device-mode I/O as well as for file I/O.

   $ ld connect deleteme.dsk
   %LD-I-UNIT, Allocated device is OMEGA$LDA2:
   $ dump/block=count=1 lda2:   !LDA2 is not mounted
   %DUMP-E-OPENIN, error opening LDA2:[BROWN.TEMP].; as input
   -RMS-E-DNR, device not ready, not mounted, or unavailable
   $ mount lda2 test
   %MOUNT-I-MOUNTED, TEST mounted on _OMEGA$LDA2:
   $ dump/block=count=1 lda2:   !LDA2 is mounted files-11
   %DUMP-E-READERR, error reading LDA2:
   -SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
   $ dismount lda2:
   $ mount lda2 test/for
   %MOUNT-I-MOUNTED, TEST mounted on _OMEGA$LDA2:
   $ dump/block=count=1 lda2:   !LDA2 is mounted foreign

   Dump of device LDA2: on 26-MAY-2011 14:25:21.84

   Logical block number 0 (00000000), 512 (0200) bytes

    03039401 001E65C0 11C00200 15C600A0 ......e...... 000000
    ...


-- 

Rob Brown                        b r o w n a t g m c l d o t c o m
G. Michaels Consulting Ltd.      (780)438-9343 (voice)
Edmonton                         (780)437-3367 (FAX)
                                  http://gmcl.com/




More information about the Info-vax mailing list