🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #10823

Re: 1/4 inch cartridge tape drives & tar

#10823
From: MICHAEL A JENKINS
Date: Thu, 09 Feb 1989 00:56
29 lines
1459 bytes
You can't use the r option of tar with cartridge tape tarfiles, BUT you
can use it with disk tarfiles.  Simply copy the tarfile from the tape to
disk, add the new files, and copy the tarfile back to the tape.  Here are
a couple of examples:


	EXAMPLE 1: Tape contains a single tarfile.

	mt -f /dev/rst0 rewind			# rewind tape
	cp /dev/rst0 disk.tar			# get tarfile
	tar rvf disk.tar filea fileb filec	# add other files
	cp disk.tar /dev/rst0			# put tarfile


	EXAMPLE 2: Tape contains 5 files with file #3
			being the tarfile of interest.

	mt -f /dev/rst0 rewind			# rewind tape
	mt -f /dev/nrst0 fsf 2			# skip over first two files
	cp /dev/rst0 disk.tar			# get tarfile ...
						# ... and the tape rewinds
	tar rvf disk.tar filea fileb filec	# add other files
	mt -f /dev/nrst0 fsf 5			# skip to end of tape
	cp disk.tar /dev/rst0			# put tarfile

It's as simple as cp!  Hope this helps.

Michael A. Jenkins
ARPA: jenkinsm@eglin-vax.arpa
Technical Details
Message-ID: <8901311929.AA26018@rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: jenkinsm@uv4.eglin.af.mil (MICHAEL A JENKINS)
Newsgroups: comp.sys.sun
Subject: Re: 1/4 inch cartridge tape drives & tar
Message-ID: <8901311929.AA26018@rice.edu>
Date: 9 Feb 89 00:56:55 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 29
Approved: Sun-Spots@rice.edu
Original-Date: 31 Jan 89 13:12:00 CST
X-Sun-Spots-Digest: Volume 7, Issue 145, message 5 of 11