*BSD News Article 12889


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!aardvark.ucs.uoknor.edu!ns1.nodak.edu!plains.NoDak.edu!ortmann
Newsgroups: comp.os.386bsd.questions
Subject: Re: CPIO
Message-ID: <C3v2KH.E2M@ns1.nodak.edu>
From: ortmann@plains.NoDak.edu (Daniel Ortmann)
Date: Sun, 14 Mar 1993 04:17:04 GMT
Sender: usenet@ns1.nodak.edu (Usenet login)
References: <1993Mar11.235458.29775@wam.umd.edu>
Organization: North Dakota Higher Education Computing Network
Nntp-Posting-Host: plains.nodak.edu
Lines: 39

publius@wam.umd.edu (Matt Beal) writes:
)I hope this isn't TOO simple or stupid a question, but I need an answer fast...

It is a good question.  (I do not believe there are any "stupid"
questions:-)

)I was installing the source distribution, and ran out of space during
)the unpacking of the files. It occurs to me that I could probably
)handle it, but only if those 62 distribution files weren't there the
)entire time. What I'm getting at is this: how can I manually unpack
)those files? I managed to do one one time with: zcat <file> | cpio
)-<some options...don't remember> However, the rest failed. How can I
)unpack them? Tomorrow afternoon, I go on break and lose net access for
)10 days, so if anyone could mail me soon, I would VERY much appreciate
)it!

Do this (using your path to the files and assuming sh shell):

cd /
cat /usr/dist/bin01* | zcat | cpio -iadmu &
rm /usr/dist/bin01*
cat /usr/dist/src01* | zcat | cpio -iadmu &

Since that is now running in the background you can still execute
commands.  About every minute you should do a "df" command to check your
partition space.  With the following partition sizes on a friends
machine I had to fry the bin01 files and all but about the last few
src01* files:

        :pa#20160:oa#204960:ba#4096:fa=512:ta=4.2BSD:\
        :ph#168840:oh#245280:bh#4096:fh=512:th=4.2BSD:

This is about 10 megs root and 80 megs usr partitions.

If your "df" command shows 97% full then delete another couple of src01*
files.
-- 
Daniel Ortmann             NDSU Electrical Engineering
ortmann@plains.nodak.edu   Fargo, North Dakota