From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9c2a283d20855f49 X-Google-Attributes: gid1164f8,public From: John Hill Subject: Re: Help, I am using Digital UNIX V4.0 Date: 1999/04/16 Message-ID: <37170E66.30A9@cern.ch>#1/1 X-Deja-AN: 467086489 Content-Transfer-Encoding: 7bit References: <3716568f.7348776@news.primenet.com> To: Scott_boston@ensyte.com Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@sunnews.cern.ch X-Trace: sunnews.cern.ch 924257894 10400 (None) 137.138.243.131 Organization: CERN - European Laboratory for Particle Physics Mime-Version: 1.0 Newsgroups: comp.sys.dec Le Beaux wrote: > > Help, I am using Digital UNIX V4.0 > > I am trying to untar files from a 4mm tape. > > When I > #ls -lut /dev/rmt* > > I get > > crw-rw-rw- 1 root system 9,5122 Apr 15 13:58 /dev/rmt0h > crw-rw-rw- 1 root system 9,5126 Apr 14 16:52 /dev/rmt0a > crw-rw-rw- 1 root system 9,5120 Apr 14 16:37 /dev/rmt0l > crw-rw-rw- 1 root system 9,5124 Apr 14 16:37 /dev/rmt0m So you get a directory listing of devices in the /dev directory. > > Next I tried, > > #cd > #tar cvf /dev/rmt0h bin > > and I get > > a bin > a bin/setx 1 Blocks As another poster mentioned, you just overwrite the tape (the "c" option creates a tar file on the device (or disk file) specified after the "f" option. I do hope you have a copy of the original tape... > > However, when I try > #tar tvf /dev/rmt0h > > tar: [offset 0]: I/O error > > Any guess on what this error could be from? Suggestions? Solutions? > Anything? > Again another poster explained - you were trying to read tape after the EOF. Next time, you should: 1) Write protect any tape - at least then you can't overwrite your data. 2) Use tar tvf /dev/rmt0h to check the contents of the tape. 3) Use tar xvf /dev/rmt0h to copy the contents of the tape to the local directory (make sure this is where you want it to go). > Email is appreciated. Thanks. > > ------- > Scott Boston > Tech. Support Rep. > ENSYTE Energy Software Int'l > Scott_Boston@ensyte.com Regards, John Hill