*BSD News Article 39258


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!bubba.ucc.okstate.edu!newsfeed.ksu.ksu.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!swrinde!pipex!uunet!fi.gs.com!qsss08!avraad
From: avraad@qssw04.qsss08.gs.com (David Avraamides)
Subject: Re: Problem with gzip on FBSD 2.0 bindist
In-Reply-To: blymn@awadi.com.au's message of 02 Dec 1994 07:29:21 GMT
Message-ID: <AVRAAD.94Dec9082852@qssw04.qsss08.gs.com>
Sender: news@qsss08.gs.com
Nntp-Posting-Host: qssw04
Organization: Goldman, Sachs & Co.
References: <3bg7s3$49@edwin.bga.com> <JKH.94Nov30114654@whisker.hubbard.ie>
	<BLYMN.94Dec2175921@mallee.awadi.com.au>
Date: Fri, 9 Dec 1994 13:28:52 GMT
Lines: 42

>>>>> Brett Lymn writes:
# 
# In article <JKH.94Nov30114654@whisker.hubbard.ie> jkh@whisker.hubbard.ie (Jordan K. Hubbard) writes:
# 
# 
#>> In article <3bg7s3$49@edwin.bga.com> phighley@bga.com
#>> (Paul T. Highley) writes: This problem is clearly an
#>> oversight on my part since people all over the
#>> comp.os.386bsd* groups have successfully installed 2.0
#>> FreeBSD from the
#> 
#> You're right! :-)
#> 
#>> # gzip -c -d bindist.aa | tar -tvf -
#> 
#> Uh.  No.  You're only doing the first part of what is a
#> *split* archive.  This message: gunzip: bindist.aa:
#> unexpected end of file Is entirely correct! :-)
#> 
#> Try instead:
#> 
#> cat bindist.?? | gzip -c -d | tar -tvf -
# 
# Jordan,
#         Shouldn't the tar command have the B option in there? viz:
# 
# cat bindist.?? | gzip -c -d | tar -tvBf -
# 
# to ensure that tar reads entire blocks from the pipe?  Just a minor
# nit....

The tar command under FreeBSD supports the -z options so you can
just do:

  cat bindits.?? | tar tzf -

--
David Avraamides
Goldman, Sachs & Co.
(212) 357-1346
avraad@qsss08.gs.com