Okay, I think I figured out what they are doing.  They have a bunch of files 
for the labels.  If I move forward using asf n where n is a number from 1-n I 
can walk through the label files.  They take two files/label file so I go 
from 1 to 3 to 5 ....

How do I get to this file to untar it?  What I have is this when I do tar 
-tvf /dev/tape0n.

-rw-rw---- 0/0            1994 2004-11-20 20:56:25 /tmp/fs_95.lbl

Thanks.


On Sunday February 5 2006 23:36, Richard Fish wrote:
> On 2/5/06, Brett I. Holcomb <[EMAIL PROTECTED]> wrote:
> > I have a scsi tape library and a backup program that creates datasets of
> > tar files on the tapes.  I gather each dataset is a tar file.  I would
> > like to be able to access each of these tar files.  At this point I can
> > tar -tvf /dev/tape0 and see the file that contains the tape label.  But I
> > can't get beyond that.  I've tried skipping to the next file, records,
> > set mark using mt with no luck.
>
> mt is the correct command, but you need to make sure you are using a
> no-rewind tape device (ntape or nst0).  Otherwise you will end up
> seeking to the next file, closing the file descriptor, which causes
> the driver to rewind the tape.
>
> -Richard

-- 

Brett I. Holcomb
-- 
gentoo-user@gentoo.org mailing list

Reply via email to