[gnu.utils.bug] Need GNU tar help

viraf@gwusun.gwu.edu (Viraf Bankwalla) (07/24/89)

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