<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 2, 2023 at 9:28 AM KenUnix <<a href="mailto:ken.unix.guy@gmail.com">ken.unix.guy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I am trying to use the 'dump' program but it references rmt1.</div><div><br></div><div>My system only has rmt0. I have been unable to find how to</div><div>create this device. I have looked over the reference material</div><div>but it only references rmt0.</div><div><br></div><div>Is there any way to redirect a dump to use rmt0?</div></div></blockquote><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">Some thoughts...</span></div><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">1.) start with the man page: <a href="https://man.cat-v.org/unix_7th/1/dump" hspace="streak-track">https://man.cat-v.org/unix_7th/1/dump</a></span></div><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">You note the first key parameter described is f - i.e. </span><span class="gmail_default" style=""><font face="monospace" color="#38761d">dump fu0 /dev/rmtXXX /dev/rrpY</font></span></div><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span class="gmail_default" style=""><font face="arial, helvetica, sans-serif">Remember on traditional research systems like V6/V7you should use </font><font color="#38761d" style="" face="monospace">rmtX</font><font style="" color="#000000" face="arial, sans-serif"> </font><font style="" face="arial, sans-serif" color="#000000">a</font><font color="#000000" style="font-family:arial,sans-serif">nd</font> <font face="monospace" color="#38761d">rrpY</font><font color="#000000" style="font-family:arial,sans-serif"> not </font><font color="#38761d" style="" face="monospace">mtX </font><font style="" color="#000000" face="arial, sans-serif">and </font><font color="#38761d" style="" face="monospace">rpY</font><font face="arial, helvetica, sans-serif"> as you don't what to use the buffer cache (modern UNIXs & Linux use the paging HW </font>so things<font face="arial, helvetica, sans-serif"> like need for the old I/O buffer cache are avoided).</font></span></div><div><span class="gmail_default" style=""><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span class="gmail_default" style=""><font face="arial, helvetica, sans-serif">2.) next: read: </font></span><a href="https://man.cat-v.org/unix_7th/4/tm" hspace="streak-track">https://man.cat-v.org/unix_7th/4/tm</a></div><div><span class="gmail_default" style=""><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span class="gmail_default" style=""><font color="#38761d" face="monospace">cd /dev; ls -l *mt*</font></span></div><div><span class="gmail_default" style=""><font face="arial, sans-serif" color="#000000">(if you type: </font><font color="#38761d" face="monospace">cat makefile </font><font face="monospace" color="#000000">that would not hurt)</font></span></div><div><span class="gmail_default" style=""><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span class="gmail_default" style=""><font face="arial, helvetica, sans-serif">I suspect you will see three devices: mt0 (a blocked device i.e. thru the buffer cache and then copied in/out to your program) and two raw devices: rmt0 and </font></span><span style="font-family:arial,helvetica,sans-serif">nrmt0<span class="gmail_default" style="font-family:arial,helvetica,sans-serif"> (character devices i.e. direct I/O to your program).    </span></span><span style="font-family:arial,helvetica,sans-serif">Using mknod create the next Unit number - i.e. three more device files: mt1 rmt1 and nrmt1   - don't forget chmod them too</span></div><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span class="gmail_default" style=""><font face="arial, helvetica, sans-serif">Now with simh, you can add:  </font><font color="#38761d" style="" face="monospace">attach tm1 some_local_file</font></span></div><div><span class="gmail_default" style=""><font color="#38761d" style="" face="monospace"><br></font></span></div><div><span class="gmail_default" style=""><font style="" color="#000000" face="arial, sans-serif">3.) since you are using simh, you could also use the RH11/RH70 based Tapes which are the ht devices: </font></span><a href="https://man.cat-v.org/unix_7th/4/ht" hspace="streak-track">https://man.cat-v.org/unix_7th/4/ht</a></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The makefile in dev will create 2 drives for you and make sure you use a UNIX kernel configured with the ht driver included. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Also in simh, enable TU0 and TU1 instead of TM0 and TM1</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">I would not recommend recompiling the tape utilities, although as Dan said you could do that.</div><br></div><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"></span> </div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aY2xlbWNAY2NjLmNvbQ%3D%3D&type=zerocontent&guid=869135a9-d419-42d7-b1b8-d539b7db5743"><font color="#ffffff" size="1">ᐧ</font></div>