Joshua,

the ods2 tool expect a real device to mount - the (VMS) status code 2312
translates to „%SYSTEM-W-NOSUCHDEV, no such device available”

So under Linux I’d expect it needs some /dev/xxx device file; perhaps
such a beast could be created as a loop device.

HTH,
Martin
Von: Simh [mailto:[email protected]] Im Auftrag von Joshua 
Overmiller
Gesendet: Donnerstag, 3. März 2016 15:36
An: [email protected]
Betreff: [Simh] Mounting simh disk files in Linux

I've built the ods2 tool and ods2reader from http://www.vms2linux.de/ in order 
to try to read the simh disk files.

However, trying "ods2 mount d0.dsk" responds with "Mount failed with 2312".
Trying "ods2reader -l d0:[000000]"  gives:
    d0:[000000] -- Bad block in file
    d0:[000000] --- Cant't read index file header on d0

d0.dsk corresponds to DAU0 which is a RA92 disk.

Note there were some warnings when building both tools, but they both build.

For ods2:

ods2.c: In function ‘main’:
ods2.c:1165:13: warning: ‘gets’ is deprecated (declared at 
/usr/include/stdio.h:638) [-Wdeprecated-declarations]
             if (gets(str) == NULL) break;
ods2.o: In function `main':
ods2.c:(.text.startup+0x2d5): warning: the `gets' function is dangerous and 
should not be used.

For ods2reader:
Various warnings about implicit declaraions of builtin functions strlen, 
strcpy, and strcat.




More info to follow to get some insight into what my plans are.

My end goal is to migrate a physical MicroVAX 3100-90 VMS 5.5 system to simh.
I've been playing around with learning the BACKUP utility and Stand-Alone 
BACKUP under simh before I try anything out on the real system.  I can make an 
image backup of the system disk to a SAVE_SET on another disk.  The MicroVAX 
has the CMUIP installed so I can FTP the SAVE_SET off onto our network.  I plan 
to write the SAVE_SET to an iso image for simh VAX to mount and copy to a local 
disk.  I will then use BACKUP to restore the save set to a local disk.

I will also want to get some files off the simh VAX.  Hence the need to mount 
the simh disk image files.

I'm struggling with getting the networking running in simh, so I'm looking into 
this route.  However, other suggestions for getting files out of the simh disk 
image files are welcome.


Thanks,

Josh
.

_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to