tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: mortimer () physics ! uq ! edu ! au
To: tru64-unix-managers
Subject: [Q] What does `mt bsf' do?
Date: Tue, 06 May 1997 01:53:54 +0000	[thread overview]
Message-ID: <96078612210171.tru64-unix-managers.marc@archive.invalid> (raw)

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@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.

                 reply	other threads:[~1997-05-06  1:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox