🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #315

Need GNU tar help

#315
From: Viraf Bankwalla
Date: Mon, 24 Jul 1989 12:30
28 lines
1187 bytes
Hi,

	I was wondering is anyone has got the multi-volume option in GNU tar
working correctly on a sun.

	The first problem that I faced was detecting the EOT makrker.  This
was easily done (we have an Xylogic controller) with

    #ifdef XTS
	    if (ioctl(archive, MTIOCGET, &tdstat) == -1)
		writeerror(err); /* Couldnt get stat */
	    if (tdstat.mt_dsreg & XTS_EOT)
		    errno = ENOSPC; /* We are out of space */
	    else
		    writeerror(err);
    #endif

	Now the EOT is detected correctly, and we continue on the new volume,
but when reading it back in, tar indicates that the file is not continued
on this volume.  

	Any suggestions would be appreciated.

	Thanks in advance

						viraf bankwalla
						viraf@gwusun.gwu.edu
						uunet!gwusun!viraf
Technical Details
Message-ID: <1420@gwusun.gwu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!gwusun!viraf

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!gwusun!viraf
From: viraf@gwusun.gwu.edu (Viraf Bankwalla)
Newsgroups: gnu.utils.bug
Subject: Need GNU tar help
Message-ID: <1420@gwusun.gwu.edu>
Date: 24 Jul 89 12:30:32 GMT
Reply-To: viraf@gwusun.gwu.edu (Viraf Bankwalla)
Organization: The George Washington University, Washington, D.C.
Lines: 28