Subject: | |
From: | |
Reply To: | |
Date: | Wed, 6 Mar 1996 16:34:00 S |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Dick
Thanks.
Yes I did type mknod "/dev/tape/tape70" c 0 70
The tapes are standard 20 records (512 bytes) per block.
I can read the tar tapes, but I want to "seek" to a specific archive on
the dat, then tar off (-xvf) a specific file within that archive.
I did get some pointers from Randy, and I have managed to successfully
write a program in C that does the seek (similar to mt on HP9000/UX).
The problem now is that my mt is VERY slow, because it stops at every EOF
(or tape) mark.
I will continue pursuing this, and when done I will make the source
available.
Thanks for the help so far.
Neil
[log in to unmask]
----------
From: owner-hp3000-l[SMTP:[log in to unmask]]
Sent: 06 March 1996 08:22
To: Multiple recipients of list HP3000-L
Subject: Re: Seek on a tar DAT
Neil Harvey ([log in to unmask]) wrote:
: Greetings, O Knowledgable Ones
: I am trying to read DAT's (produced on our HP9000), with tar on the
: HP3000.
: (Why? because I want to throw the HP9000 away)
: The DAT's were written by tar as multiple blocks, i.e. 250
: subdirectories, each one holding 100 files.
: So, I need to seek to a specific tape mark (subdirectory), then tell
: /bin/tar to -xvf a certain file.
: So far I have mknod'ed the device as follows mknod "/dev/tape70" 0 70
and
: tar -tvf /dev/tape70 shows me the first block of 100 records.
I hope you type in mknod "/dev/tape70" c 0 70.
I was wondering what block size the tar tape is. MPE can only go up to
16K bytes for a block. Maybe if you specify a 16K block size on the UNIX
side, MPE will be able to read. I'm just guessing, but loading tar tapes
from UNIX was tested.
Rick Ehrhart
[log in to unmask]
|
|
|