Article View: demon.tech.pc
Article #72043Re: Q: tar-format tape archives
From: John Beardmore
Date: Tue, 01 Nov 1994 00:31
Date: Tue, 01 Nov 1994 00:31
34 lines
2266 bytes
2266 bytes
In article <38uqg8$jdk@umd5.umd.edu>
colbert@astro.umd.edu "Edward J.M. Colbert" writes:
>Hi,
>
>I've always used tar to backup my data onto 8mm tapes with an Exabyte drive.
>I usually try to make multi-volume tapes in order to save space. I'm getting
>to have so many tapes that I would like to organize them somehow.
>
>Some things I would like to do are:
>
>(1) write a program that will read the (header of the ?) tar file on tape and
> compute the number of bytes in the archive -- so that I know how much
> space I need to clear when I restore the volume. Does anyone have
> something writen that already does this, or do you have the specs for
> the tar format so I can write a program myself?
The specs for tar headers can ususally be read from the header files on all
good unix boxes.
Accessing the tape is more trick but you might check out GNUs ASPI tar if
you have an aspi interface.
>(2) one of the tar volumes on one of my tapes has a bad spot in the middle.
> How do I restore the remaining files after the bad block?
Keep rereading the and look for the most frequently occuring strings of
characters then piece the consistant bits together. Alternatively, read until
you don't get a CRC or checksum error.
--
John Beardmore wookie@wookie.demon.co.uk
wookie@cix.compulink.co.uk
Technical Details
Message-ID:
<783649862snz@wookie.demon.co.uk>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!news.sprintlink.net!demon!wookie.demon.co.uk!wookieReferences:
<783336132snz@lgab.demon.co.uk> <783394886snz@rmcsg.demon.co.uk> <38un5b$akt@nic.scruz.net> <38uqg8$jdk@umd5.umd.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1036bc,490040b7974fd4a8 X-Google-Attributes: gid1036bc,public X-Google-Thread: f4d7c,490040b7974fd4a8 X-Google-Attributes: gidf4d7c,public X-Google-ArrivalTime: 1994-11-01 04:02:15 PST Newsgroups: demon.tech.pc,comp.sys.ibm.pc.hardware.storage From: wookie@wookie.demon.co.uk (John Beardmore) Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!news.sprintlink.net!demon!wookie.demon.co.uk!wookie Subject: Re: Q: tar-format tape archives References: <783336132snz@lgab.demon.co.uk> <783394886snz@rmcsg.demon.co.uk> <38un5b$akt@nic.scruz.net> <38uqg8$jdk@umd5.umd.edu> Organization: at home and work. Reply-To: wookie@wookie.demon.co.uk X-Newsreader: Demon Internet Simple News v1.29 Lines: 34 Date: Tue, 1 Nov 1994 00:31:02 +0000 Message-ID: <783649862snz@wookie.demon.co.uk> Sender: usenet@demon.co.uk