*BSD News Article 3347


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!cs.utexas.edu!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Subject: Re: 386bsd/srcdist  corrupt?
Message-ID: <1992Aug12.043458.15480@fcom.cc.utah.edu>
Sender: news@fcom.cc.utah.edu
Organization: Weber State University  (Ogden, UT)
References: <1992Aug12.023903.1433@msuinfo.cl.msu.edu>
Date: Wed, 12 Aug 92 04:34:58 GMT
Lines: 39

In article <1992Aug12.023903.1433@msuinfo.cl.msu.edu> ignasiak@convex.cl.msu.edu (Todd Ignasiak) writes:
>I have tried to get the source for 386bsd from a few different sites, 
>including agate.   And each time I do, the tar file seems  to be corrupt.
>I think the problem is the first line of the tar file, it seems to be
>garbled.  After that it looks normal.
>
>I have tried it several times, on several different machines, with the same
>result each time.
>
>Here's what I do:
>		- download the files (yes I used binary mode) src01.??
>			- cat src01.?? > scr.tar.Z
>			- uncompress src.tar.Z
>		 	- tar xvf src.tar.Z
>
>tar then gives me a message saying it doesn't look like a tar file.
>Am I overlooking something totally simple here or what?

	Well, besides the fact that you are cat'ing to 'scr.tar.Z' and
uncompressing 'src.tar.Z', and then attempting to tar from the compressed
file that doesn't exist any more, you probably want to do this instead:

			- cat src01.?? > src.cpio.Z
			- uncompress src.cpio.Z
			- tar xvf src.cpio (just kidding here 8-).
			- cpio -ivBaud < src.cpio


					Terry Lambert
					terry_lambert@gateway.novell.com
					terry@icarus.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.
-- 
-------------------------------------------------------------------------------
                                                       terry@icarus.weber.edu
 "I have an 8 user poetic license" - me
-------------------------------------------------------------------------------