* [Q] What does `mt bsf' do?
@ 1997-05-06 1:53 mortimer
0 siblings, 0 replies; only message in thread
From: mortimer @ 1997-05-06 1:53 UTC (permalink / raw)
To: tru64-unix-managers
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-05-06 1:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-06 1:53 [Q] What does `mt bsf' do? mortimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox