Path: utzoo!utgpu!watserv1!watmath!uunet!jarthur!usc!cs.utexas.edu!asuvax!ncar!boulder!scicom!zebra!vern From: vern@zebra.UUCP (Vernon C. Hoxie) Newsgroups: unix-pc.bugs Subject: Re: fixdisk 2.0: Tbackup.sh bug Summary: A very dumb "fix"!! Keywords: fixdisk bug tape backup Message-ID: <190@zebra.UUCP> Date: 9 Feb 90 05:42:11 GMT References: <13050@cbnewsd.ATT.COM> <4158@jhunix.HCF.JHU.EDU> Organization: Alpha Science Computer Networks, Denver, Colo. Lines: 43 In article <4158@jhunix.HCF.JHU.EDU> eed_wwhh@jhunix.UUCP (William H Huggins) writes: >In article <13050@cbnewsd.ATT.COM> bgbg@cbnewsd.ATT.COM (brian.g.beuning) writes: >>In general fixdisk 2.0 has been working wonderfully, >>however ... change made to Tbackup.sh is (broken)... >> >After installing FIXDISK2, I also tried to backup my file system >onto floppy tape and found that the Tape fix which replaces >/usr/bin/Tbackup.sh is itself broken. > >> # it took 2 tapes. Changed to add 1 to NTAPES and also >> # to set FMORE=1 to always suppose more than 1 tape. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This was a very dumb assumption!!!!!!! The following may be a valid enhancement to the script as it actually reads the tape during the verify pass rather than just passing over looking for lack of signal. >> ## DLM -- Add tapecpio to check if data recorded in readable format >> >> dbuf -iT124O$OFFSET"S"$NBLOCKS $TAPEDEVNAME | >> tapecpio -ictT124 > /dev/null 2>&1 >701a726,729 Definately needed. >> # DLM added the Tgetname -l to release the tape at the end >> >> $SHROOT/Tgetname -l >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- I have added these two sections to the old Tbackup.sh and am using it. Edit in the two cammands above and remove the old cammand from the verify pass and move the result to 'Tbackup.sh". vern -- Vernon C. Hoxie {ncar,nbires,boulder,isis}!scicom!zebra!vern 3975 W. 29th Ave. voice: 303-477-1780 Denver, Colo., 80212 TB+ uucp: 303-455-2670