Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!mel.dit.csiro.au!merlin!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!zib-berlin.de!news.tu-chemnitz.de!irz401!narcisa.sax.de!not-for-mail
From: j@narcisa.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: kernel sources
Date: 16 Jun 1995 18:46:34 +0200
Organization: Private U**x site, Dresden.
Lines: 28
Message-ID: <3rscha$io3@bonnie.tcd-dresden.de>
References: <3rk1hm$t3l@tulpi.interconnect.com.au> <3rmd3q$54p@bonnie.tcd-dresden.de> <steveb-1406951720190001@198.96.21.171>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Steven Bonisteel <steveb@andyne.on.ca> wrote:
>> cat src-* | gzip -d -c | (cd /usr; cpio -ivdmu)
>>
>
>I ran into the same situation trying to install just the kernel source
>after the fact. My (lame) solution was to append all the ssys.* files into
>one file in /, then:
>
> tar -x -z -f ssys.bigfile
Well, this is basically the same as my proposal, with the exceptions:
o You're wasting disk space by having the extra copy `ssys.bigfile'
instead of feeding from a pipe.
o You're calling `gzip -d -c' implicitly (-z option) instead of
explicitly, which does simply hide that you're using gzip at
all (but you _are_ using it).
o While i haven't been sure if the image is `tar' or `cpio' format,
you're using tar directly. Cpio could handle both formats, that's
why i've proposed it.
--
cheers, J"org private: joerg_wunsch@uriah.heep.sax.de
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)