From owner-freebsd-stable Mon Mar 29 17:30: 7 1999 Delivered-To: freebsd-stable@freebsd.org Received: from angel.double-barrel.be (mail.double-barrel.be [194.7.102.20]) by hub.freebsd.org (Postfix) with ESMTP id 1114D14C1F for ; Mon, 29 Mar 1999 17:29:50 -0800 (PST) (envelope-from mvergall@ns.double-barrel.be) Received: from ns.double-barrel.be (ns.double-barrel.be [194.7.102.18]) by angel.double-barrel.be (8.9.1b+Sun/8.9.1) with ESMTP id DAA04030; Tue, 30 Mar 1999 03:28:54 +0200 (MET DST) Received: from localhost (mvergall@localhost) by ns.double-barrel.be (8.8.7/8.8.7) with ESMTP id DAA00595; Tue, 30 Mar 1999 03:28:50 +0200 Date: Tue, 30 Mar 1999 03:28:50 +0200 (CEST) From: "Michael C. Vergallen" To: Luc Morin Cc: stable@FreeBSD.ORG Subject: Re: Cleaning up after upgrade In-Reply-To: <370011E4.BD89AC4D@videotron.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What I did on my gateway is simply to backup the /etc directory reinstall the system and then look at each config file. I found this the safest option. Michael --- Michael C. Vergallen A.k.A. Mad Mike, Sportstraat 28 http://www.double-barrel.be/mvergall/ B 9000 Gent ftp://ftp.double-barrel.be/pub/linux/ Belgium tel : 32-9-2227764 Fax : 32-9-2224976 On Mon, 29 Mar 1999, Luc Morin wrote: > Spidey wrote: > > > > I don't know about a list, clearly.. But I know that there is a perl > > script that compares the two directories... > > > > In fact, you should take a look at: > > > > http://www.nothing-going-on.demon.co.uk/FreeBSD/make-world/make-world.html > > > > It looks like this: > > > > Backup the existing /etc: > > # cp -Rp /etc /etc.old > > // Recreate a dummy set of dirs: > > # mkdir /var/tmp/root > > # cd /usr/src/etc > > # make DESTDIR=/var/tmp/root distrib-dirs distribution > > // Delete unecessary directories: > > # cd /var/tmp/root > > # find -d . -type d | /usr/bin/perl -lne \ > > 'opendir(D,$_);@f=readdir(D);rmdir if $#f == 1;closedir(D);' > > > > // Then use the perl script available at: > > http://www.nothing-going-on.demon.co.uk/FreeBSD/make-world/dircmp.pl (I > > think)... if not it's on the Clayton's page... > > # perl dircmp.pl > > // then you have a nice output like: > > DIFFER: /etc/defaults > > DIFFER: /etc/periodic > > [...] > > IGNORING: group > > IGNORING: hosts > > [..] > > OBSOLETE?: /etc/rc.conf > > OBSOLETE?: /etc/fstab > > [...] > > Suggestions: > > diff -c /etc/defaults /var/tmp/root/etc/defaults > > diff -c /etc/periodic /var/tmp/root/etc/periodic > > [...] > > diff -c /etc/pccard.conf.sample /var/tmp/root/etc/pccard.conf.sample > > cp /var/tmp/root/etc/rc.isdn /etc > > [...] > > diff -c /etc/pwd.db /var/tmp/root/etc/pwd.db > > rm /etc/rc.conf > > [...] > > > > Nice, uh? > > > > On Mon, 29 Mar 1999, Luc Morin wrote: > > > > Thank you for the reply. I should have mentionned that I already have > used mergemaster to update my /etc, /dev and /root directories > succesfully. All I really want to make sure of is that there are no > obsolte files there. The dircmp.pl script is a good start since it will > spot if a file is in /etc but not in the newer source, but I don't think > I can rely on it for an authoritative answer. > > I guess I could always take a look at a freshly installed 3.1 system to > spot differences. > > Thanks again. > > -- > Luc Morin > Electrical Engineering Technologist > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message