<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 03-Mar-16 09:35, Joshua Overmiller
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALDuRfJg3k79c0rMv_7k5mR1zK6s1+9sT4hKDsJdqu4bzx-aKg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>I've built the ods2 tool and ods2reader from <a
            moz-do-not-send="true" href="http://www.vms2linux.de/"
            target="_blank"><a class="moz-txt-link-freetext" href="http://www.vms2linux.de/">http://www.vms2linux.de/</a></a> in order to try
          to read the simh disk files.</div>
        <div><br>
        </div>
        <div>However, trying "ods2 mount d0.dsk" responds with "Mount
          failed with 2312".</div>
        <div>Trying "ods2reader -l d0:[000000]"  gives:</div>
        <div>    d0:[000000] -- Bad block in file</div>
        <div>    d0:[000000] --- Cant't read index file header on d0</div>
        <div><br>
        </div>
        <div>d0.dsk corresponds to DAU0 which is a RA92 disk.</div>
        <div><br>
        </div>
        <div>Note there were some warnings when building both tools, but
          they both build.</div>
        <div><br>
        </div>
        <div>For ods2:</div>
        <div><br>
        </div>
        <div>
          <div>ods2.c: In function ‘main’:</div>
          <div>ods2.c:1165:13: warning: ‘gets’ is deprecated (declared
            at /usr/include/stdio.h:638) [-Wdeprecated-declarations]</div>
          <div>             if (gets(str) == NULL) break;</div>
        </div>
        <div>
          <div>ods2.o: In function `main':</div>
          <div>ods2.c:(.text.startup+0x2d5): warning: the `gets'
            function is dangerous and should not be used.</div>
        </div>
        <div><br>
        </div>
        <div>For ods2reader:</div>
        <div>Various warnings about implicit declaraions of builtin
          functions strlen, strcpy, and strcat.</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    Networking is your best option at this time.  It shouldn't be very
    difficult to get running.<br>
    <br>
    ODS2 has serious issues - as it turns out, reworking is is a subtask
    of my current project.<br>
    <br>
    The public version (the one you found) reads better than it writes -
    but it has memory <br>
    corruption issues and problems with certain pointers in the Files-11
    ODS.<br>
    <br>
    Actually, writing is a disaster - don't try it.  It has two modes:
    corrupt the disk and<br>
    crash.<br>
    <br>
    You can try mounting an image on an loop device (losetup -rfv file
    && ods2 mount file), but <br>
    you'll run into problems.  Especially with disks as large as an
    RA92.<br>
    <br>
    I have a version that will read a simulator image directly as well
    as physical devices.  <br>
    <blockquote>
      It seems to read individual disks OK, at least on windows and
      Linux. <br>
      <br>
      Volumesets are a work in progress, but improving.<br>
      <br>
      If you just mount a disk, take directories and read files, it
      works most of the time.<br>
      <br>
      But there are still bugs that will take quite some time to work
      out.  Errors (and dismount) are problematic.<br>
    </blockquote>
    <br>
    I can push a snapshot to my repo on github, but it's very much a
    work in progress & make no guarantees.<br>
    <br>
    No ETA on a stable version - the more I look, the more I find to
    fix.... and the most annoying stuff turns out<br>
    to be involved.  If the snapshot would be useful to you, contact me
    off-list.<br>
    <br>
    I haven't done anything with ods2reader.  If relies on a strict
    interpretation of the Files-11 spec, it needs<br>
    the physical disk geometry, which isn't in simulator disk images.<br>
    <br>
    <blockquote
cite="mid:CALDuRfJg3k79c0rMv_7k5mR1zK6s1+9sT4hKDsJdqu4bzx-aKg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div><br>
        </div>
        <div>More info to follow to get some insight into what my plans
          are.</div>
        <div><br>
        </div>
        <div>My end goal is to migrate a physical MicroVAX 3100-90 VMS
          5.5 system to simh.</div>
        <div>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.</div>
        <div><br>
        </div>
        <div>I will also want to get some files off the simh VAX.  Hence
          the need to mount the simh disk image files.</div>
        <div><br>
        </div>
        <div>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.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div>Josh</div>
        <div>.</div>
        <div><br>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>