[comp.unix.microport] Everex Tape Archival

news@brian386.UUCP (Wm. Brian McCane) (05/09/89)

I assume this question has long since been run into the proverbial
ground, but I just ran into the problem.  I have been archiving
comp.sources.unix, comp.sources.misc, alt.sources, and
comp.sources.games, plus all sorts of patches ofr everything.  Anyway, I
tried to archive v17 of comp.sources.unix, using

	tar cvf /dev/mt/rmt4 unix.src/v17

And it worked perfect.  Notice, I used rmt4, this was so I could then
follow it up with v06 of games.  Anyway, I archived the games next, and
then got nervous (I tend towards nervousness in unfriendly environments ;-).

When I tried to check the first file, it worked fine with.

	tar tvf /dev/mt/rmt4

But when I did this command again, it would not give an index for the
games sources.  WHY!!!

(John , can you help on this one??)

	brian

-- 
Wm. Brian McCane                    | Life is full of doors that won't open
                                    | when you knock, equally spaced amid
Disclaimer: I don't think they even | those that open when you don't want
            admit I work here.      | them to. - Roger Zelazny "Blood of Amber"

plocher%sally@Sun.COM (John Plocher) (05/11/89)

In article <436@brian386.UUCP> news@brian386.UUCP (Wm. Brian McCane) writes:
>tried to archive v17 of comp.sources.unix, using
>	tar cvf /dev/mt/rmt4 unix.src/v17
>When I tried to check the first file, it worked fine with.
>	tar tvf /dev/mt/rmt4
>But when I did this command again, it would not give an index for the
>games sources.  WHY!!!

Try the tar command a THIRD time.

>(John , can you help on this one??)

If you are using the Everex only driver (as opposed to the combined
archive/everex driver) then you may have this problem.  That driver
did strange (reas as "bad" or "wrong") things with the no-rewind devices.

This is what (I think) is hapening:

The tape should look like this (with the "^" being the current read pointer):

     [comp.unix.sources.TAR]<EOF>[comp.sources.games.TAR]<EOF><EOF>
     ^
	tar tvf /dev/mt/rmt4
	"Prints out index of archive"
	
     [comp.unix.sources.TAR]<EOF>[comp.sources.games.TAR]<EOF><EOF>
                           ^
	tar tvf /dev/mt/rmt4
	"Prints nothing because it sees an EOF"

     [comp.unix.sources.TAR]<EOF>[comp.sources.games.TAR]<EOF><EOF>
                                 ^
	tar tvf /dev/mt/rmt4
	"Should print out a TOC of the second archive"

  -John