*BSD News Article 4200


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!mips!mips!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!smurf.sub.org!rnihd!rnivh!acwbust!andrew
From: andrew@acwbust.sub.org (A.W. Root)
Newsgroups: comp.unix.bsd
Subject: Re: tar 'multivolume' bugs and workaround workound
Message-ID: <Btn5u7.qD@acwbust.sub.org>
Date: 27 Aug 92 12:10:51 GMT
References: <1992Aug26.041547.26517@ntuix.ntu.ac.sg>
Organization: A.Wheadon,6140-Bensheim-4,FRG
Lines: 37
X-Copyright: Nachdruck und Zitate -insbesondere unter Angabe des Autors
             oder der Organisation- ausserhalb des USENETs ist nur mit
             schriftlicher Genehmigung des Autors gestattet. In diesem
             Fall ist die Message-ID und die Newsgruppe als Quelle anzu-
             geben.

In article <1992Aug26.041547.26517@ntuix.ntu.ac.sg> eoahmad@ntuix.ntu.ac.sg (Othman Ahmad) writes:
>There is a need to reduce the temporary file storage for systems with limited
>disk space. 0.1 method of distribution requires that the entire files must
>first be loaded before they can be extracted.
At least after installing the bin01-files there is no need at all for
temporary space I've been using the following for quite some time now
to install things from both the src and the etc distribution.
--- cut --- /readdos --- cut ---
while echo -n "Next Disk : " >/dev/tty
do
read k </dev/tty >/dev/tty
mtype "a:*01.*"
done | uncompress | cpio -ivmd usr/src/libexec/getty/* usr/src/usr.bin/login/*
--- end --- /readdos --- end ---
Instead of usr/src/libexec/getty/* etc. just add the file you want.
You can also put as many files from the same distribution as you want to on
the end.
To find out what I wanted I first made a complete list of the distribution:
--- cut --- /makelist --- cut ---
while echo -n "Next Disk : " >/dev/tty
do
read k </dev/tty >/dev/tty
mtype "a:*01.*"
done | uncompress | cpio -it | tee MANIFEST.etc01.files
--- end --- /makelist --- end ---
If you don't want to make additional notes of what's at the end of the
various disks, then you can also leave out the tee and copy cpio's output
straight into the file. Don't forget to change the name to MANIFEST.src01.files
for the source distribution.

Also you might start wondering (in etc01) a some point whether something
has gone wrong because it reads through a whole disk with no output, thats
because theres a big tar file spread over more than one disk.
Seeya
-- 
He ought to be put in his place | He has a brain | andrew@acwbust.sub.org
Is there a shovel around ? <mr> | but it hasn't reached his head yet. ;->