*BSD News Article 18001


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!decwrl!csus.edu!netcom.com!alm
From: alm@netcom.com (Andrew Moore)
Subject: Re: What files should I restore to get a virgin src for pk's?
Message-ID: <almC9qDsH.JB5@netcom.com>
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
References: <219473$334@sylvester.cc.utexas.edu>
Date: Tue, 6 Jul 1993 06:53:04 GMT
Lines: 18

In article <219473$334@sylvester.cc.utexas.edu> vax@sylvester.cc.utexas.edu (Vax) writes:
>As I understand it, one must only remove the /usr/src tree and restore
>it from the 0.1 dist in order to get a "virgin" src tree for a new patch-kit.
>Should I also remove/restore files in /usr/include?
>How about /dev/MAKEDEV?

I think Chris Demetrious put the include headers on agate.
The problem is that some of the includes are only in the bin01
distribution.  What I do is:

# rm -rf /usr/src/ /usr/include/
# cd /
# cat /usr/tmp/bin01.* | zcat | cpio -idamu 'usr/include*'
# cat /usr/tmp/src01.* | zcat | cpio -idmau

/dev/MAKEDEV and /usr/share/man/* should be restored too, I guess.
You should be able to do these by hand.
-AM