UNIX Heritage Society Digest V1 #78

Robert Harker, 408-295-9432 harker at harker.com
Thu May 6 08:53:47 AEST 1999


The standard SunOS comand to move the tape is
	mt -f /dev/nrst0 rew
	mt -f /dev/nrst0 fsf 1
You need to use the non-rewinding device, /dev/nrst0, not /dev/rst0 which
rewinds the tape automatically.

Then you might try either
	tar tvfb /dev/nrst0 20b
or	dd if=/dev/nrst0 of=dd.out.file bs=20b

Trying to recall what the format of the files on the sun
tape were. Humm.... Wonder if I still have my copy tape script....
Rummage around with find... found it.

It is attached at the end.  A pretty stupid script now that I look at it.
But it did the trick to copy tapes from disk dd images.  I leave it as
an excersize to write the script to copy the tape to disk.  BTW, the tapes
were only 20 Mb in those days.

Hope this helps

RLH

Proud owner of a Sun 100U

  > Generate sendmail.cf files using the web. Check out our web based  <
  > sendmail.cf file generator: http://www.harker.com/gen.sendmail.cf  <

  > For info about our "Managing Internet Mail, Setting Up and Trouble <
  > Shooting sendmail and DNS" and a schedule of dates and locations,  <
  > please send email to info at harker.com, or visit www.harker.com      <

Robert Harker						Harker Systems
Sendmail and TCP/IP Network Training			1180 Hester Ave
Sendmail, Network, and Sysadmin Consulting		San Jose, CA 95126
harker at harker.com					408-295-6239




#! /bin/sh

mt -f /dev/rst8 ret
dd if=/dev/rst8 of=tape1.file0 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 1
dd if=/dev/nrst8 of=tape1.file1 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 2
dd if=/dev/nrst8 of=tape1.file2 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 3
dd if=/dev/nrst8 of=tape1.file3 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 4
dd if=/dev/nrst8 of=tape1.file4 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 5
dd if=/dev/nrst8 of=tape1.file5 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 6
dd if=/dev/nrst8 of=tape1.file6 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 7
dd if=/dev/nrst8 of=tape1.file7 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 8
dd if=/dev/nrst8 of=tape1.file8 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 9
dd if=/dev/nrst8 of=tape1.file9 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 10
dd if=/dev/nrst8 of=tape1.file10 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 11
dd if=/dev/nrst8 of=tape1.file11 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 12
dd if=/dev/nrst8 of=tape1.file12 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 13
dd if=/dev/nrst8 of=tape1.file13 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 14
dd if=/dev/nrst8 of=tape1.file14 bs=126b
mt -f /dev/rst8 rew

mt -f /dev/nrst8 fsf 15
dd if=/dev/nrst8 of=tape1.file15 bs=126b
mt -f /dev/rst8 rew


Received: (from major at localhost)
	by minnie.cs.adfa.edu.au (8.9.1/8.9.1) id JAA21117
	for pups-liszt; Thu, 6 May 1999 09:00:40 +1000 (EST)


More information about the TUHS mailing list