Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2000 20:39:44 +0100
From:      Mark Ovens <marko@freebsd.org>
To:        Murali Bashyam <mbashyam@cisco.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD tar files
Message-ID:  <20000808203944.I250@parish>
In-Reply-To: <200008081752.KAA28753@omega.cisco.com>; from mbashyam@cisco.com on Tue, Aug 08, 2000 at 10:52:44AM -0700
References:  <20000804185638.D236@parish> <200008081752.KAA28753@omega.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 08, 2000 at 10:52:44AM -0700, Murali Bashyam wrote:
> 
> When i try to extract the tar files on a SUN SPARC sunOS 5.6 machine (i.e i
> run the install.sh shell script) i get the following error
> 
> tar: /dev/rmt/0: No such file or directory
> 

I'll bet that SunOS 5.x doesn't understand the (gnu)tar options,
especially ``--unlink''. Also I bet it doesn't support gunzip'ing (the
``z'' option) either, it doesn't on SunOS 4.x for certain.

cat s${i}.?? | tar --unlink -xpzf - -C ${DESTDIR}/usr/src

/dev/rmt/0 will be the default file for tar (i.e. $TAPE, IIRC) and
,since it doesn't understand all the options it probably doesn't see
``-'' as the input file.

Since the chances are you won't have g(un)zip on your Sun either I
doubt you will get very far. Try going to
http://www.gnu.org/software/software.html#DescriptionsOfGNUSoftware
get the source for gnutar (prbably gzip as well) and build them on
your Sun (there's probably a Makefile for Suns included).

HTH

> Looks like the files are setup to extract from a tape device only? 
> Has anybody seen this before. Can they be extracted only on a system running
> FREEBSD?
> 
> Thanks,
> Murali
> 
> > 
> > On Fri, Aug 04, 2000 at 10:35:10AM -0700, Murali Bashyam wrote:
> > > > 
> > > > On Thu, Aug 03, 2000 at 08:03:07PM -0700, Murali Bashyam wrote:
> > > > > Hi
> > > > > 
> > > > > Where can i find tar.gz files of FREEBSD source code?  A mirror site (URL) which has
> > > > > the source code in the form of tar files will help.
> > > > > 
> > > > 
> > > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.1-RELEASE/src/
> > > > 
> > > > for 4.1 sources. If you want another version (-stable or -current for
> > > > example) then start at ftp://ftp.freebsd.org/pub/FreeBSD/ and follow
> > > > your nose.
> > > > 
> > > > BTW the files have .aa, .ab, .ac etc. extensions. They are .tgz
> > > > tarballs but then split(1) into ~240KB chunks to allow easy install
> > > > from floppies. They are first cat(1)'ed together then piped to tar(1),
> > > > e.g.:
> > > > 
> > > >    for i in $dists; do
> > > >         echo "  Extracting source component: $i"
> > > > 	cat s${i}.?? | tar --unlink -xpzf - -C ${DESTDIR}/usr/src
> > > >    done
> > > > 
> > > > See the file install.sh in each sub-directory.
> > > 
> > > I am sitting behind a firewall, which for some reason does not allow me
> > > to ftp this stuff.
> > 
> > I believe using ftp in passive mode allows you to do this (never had
> > to use it myself).
> > 
> > > If there is a 'single' tar.gz file or a few 'tar.gz'
> > > files of directories such as include,src,lib etc,
> > 
> > Not hat i am aware of. If there is, then hopefully someone else will
> > jump in and tell you.
> > 
> > > then that will help
> > > easy download using netscape browser. Downloading each of these split files
> > > is clearly pain. BTW, i was able to download NetBSD or OPENBSD  this way. 
> > > Is there a similar mechanism for FREEBSD?
> > > 
> > > Thanks,
> > > Murali
> > > 
> > > > 
> > > > HTH
> > > > 
> > > > > Thanks,
> > > > > Murali
> > > > > 
> > > > > 
> > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > > with "unsubscribe freebsd-questions" in the body of the message
> > > > 
> > > > -- 
> > > >   If I buy a copy of WinDelete, and it doesn't delete Windows,
> > > >   am I entitled to my money back?
> > > > ________________________________________________________________
> > > > 51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
> > > > 2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
> > > > mailto:marko@freebsd.org                http://www.radan.com
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > > 
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > 
> > -- 
> >   If I buy a copy of WinDelete, and it doesn't delete Windows,
> >   am I entitled to my money back?
> > ________________________________________________________________
> > 51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
> > 2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
> > mailto:marko@freebsd.org                http://www.radan.com
> > 
> > 
> > 
> 

-- 
		4.4 - The number of the Beastie
________________________________________________________________
51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
mailto:marko@freebsd.org                http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000808203944.I250>