fixdisk 2.0: Tbackup.sh bug
Vernon C. Hoxie
vern at zebra.UUCP
Fri Feb 9 16:42:11 AEST 1990
In article <4158 at jhunix.HCF.JHU.EDU> eed_wwhh at jhunix.UUCP (William H Huggins) writes:
>In article <13050 at cbnewsd.ATT.COM> bgbg at 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
More information about the Unix-pc.bugs
mailing list