<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Many thanks.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I think we all have created a library of tape tools over the years.   I'll put on my todo this to get my set together.</div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

As for the OSX lack of mtio.h - i've just pulled it from FreeBSD and never had an issue - obviously there is not driver. I 100% agree -- it does seems nuts and I've b*tched at my friends at Apple about it a few times.   Another thing I have on my todo list is try to slide the drivers back into an hackintosh i had running on a vm in a system that has an old DEC/Adaptec PCI card in it that I still use for SCSI tapes.   That said, when I have needed the tape I've just used the BSD driver on the base system.</div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

Clem</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 16, 2014 at 5:51 AM, Johnny Billquist <span dir="ltr"><<a href="mailto:bqt@softjar.se" target="_blank">bqt@softjar.se</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Since from time to time, I get questions about the different tape image formats that exists, as well as how to read/write tapes from Unix, I decided to publish a set of small programs I initially write many, many years ago. In the process of cleaning things up to make them more presentable, I also made them more flexible. The odd person might have seen these programs in earlier reincarnations from me at some point in time.<br>


<br>
Anyway, I have a set of four programs, that a few people might find useful, if they play on Unix systems.<br>
<br>
tpr - reads from a physical tape and creates an image on disk<br>
tpw - reads an image from disk and writes it to a physical tape<br>
tpc - copy/convert a disk image<br>
tpx - examine/verify a disk image<br>
<br>
These programs will handle both .tpc images (2 byte record length headers) and .tap images (4 byte record length headers and footers).<br>
The programs tries to automatically identify the format of the file, but you can also force a format.<br>
<br>
They are still extremely simple and stupid programs, and have very little error handling, or help. Feel free to ask if you have questions. Suggestions, as well as patches are also welcome.<br>
<br>
The files can be found under <a href="ftp://ftp.update.uu.se/pub/pdp11/tptools.tar" target="_blank">ftp://ftp.update.uu.se/pub/<u></u>pdp11/tptools.tar</a><br>
<br>
(And yes, I know they will not compile under OSX - Apple in their infinite wisdom have dropped support for tapes, and thus mtio.h no longer is around, and their man-pages also have big holes around tapes, where plenty of references from other man-pages exists... tpc and tpx is easy to fix for OSX though, but you're out of luck as far as tpr and tpw goes...)<span class="HOEnZb"><font color="#888888"><br>


<br>
        Johnny<br>
<br>
-- <br>
Johnny Billquist                  || "I'm on a bus<br>
                                  ||  on a psychedelic trip<br>
email: <a href="mailto:bqt@softjar.se" target="_blank">bqt@softjar.se</a>             ||  Reading murder books<br>
pdp is alive!                     ||  tryin' to stay hip" - B. Idol<br>
</font></span></blockquote></div><br></div>