[Ilugc] tar question

  • From: knura9@xxxxxxxxx (Arun Khan)
  • Date: Tue Feb 23 15:51:17 2010

Background:

I have received a LTO4 tape with supposedly many many files (the
client claims that).

However, when I do:

          tar xvpRf /dev/st0

I get one and only one file out of the tape.  (ditto for /dev/nst0)


On further enquiry with the client they sent me the following three
line C shell script and said it should extract all the files.

           while 1

                 tar -xvRf /dev/mt/tps#d#nrnsv   (where # is supposed
to be replaced by the device id e.g. /dev/mt/tps1d1nrnsv)

           end

Looking at the device nomenclature in the script, I am guessing that
client is using a SGI IRIX system to create the tar archive.

Anyway, I have replaced  the /dev/mt...  string  with /dev/nst0 as
well as /dev/st0 but the result is the same.

The while being always true it keeps looping and the same file is extracted.

Tried cpio --extract; got error message confirming that archive is not cpio.

Clarification/Question:

is there any other way to confirm the content of a tape archive?

TIA
-- Arun Khan

Other related posts: