Hi DU Admins
We use dump and rdump to backup a bunch of alphas to DAT tape.
After making the dumps the script rewinds the tape and then
steps through it again making a listing of each dump image
using a sequence of commands like:
   restore -t ...
   mt -f /dev/nrmt0h fsf
I have now modified the backup script to make check sums of the
dumps as they are sent to the tape.  It then rewinds the tape
and steps through getting a check sum back for each dump image.
I thought I might be able to combine the two steps of getting
listings and getting check sums by using a sequence of commands
like
   restore -t ...		# get listing
   mt -f /dev/nrmt0h bsf	# rewind to start of image
   dd ... | sum			# get check sum
This doesn't work because the `mt ... bsf' command doesn't wind
back to the start of the current image.  I also tried "bsr" but, as
I expected, that didn't work either.
Is there some way to do this?  The man page for mt doesn't give much
detail of how the various commands work.  I expected bsf to work the
same as fsf but in reverse.  It doesn't and I don't understand what
it does.  Can anyone enlighten me?
Thanks
Ian
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/                                                           Ian Mortimer _/
_/ Email: mortimer_at_physics.uq.edu.au  ,-_|\         Department of Physics _/
_/ Tel  : +61 7 3365 3436            /    *\     University of Queensland _/
_/ Fax  : +61 7 3365 1242            \_,-._/          St. Lucia, Brisbane _/
_/                                        v    Queensland, Australia 4072 _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Disclaimer: Any opinions expressed are my own.
Received on Tue May 06 1997 - 04:05:57 NZST