From owner-freebsd-current Wed May 24 01:01:08 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA02739 for current-outgoing; Wed, 24 May 1995 01:01:08 -0700 Received: from mpp.com (dialup-2-159.gw.umn.edu [134.84.101.159]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA02733 for ; Wed, 24 May 1995 01:01:04 -0700 Received: (from mpp@localhost) by mpp.com (8.6.11/8.6.9) id CAA02962; Wed, 24 May 1995 02:27:45 -0500 From: Mike Pritchard Message-Id: <199505240727.CAA02962@mpp.com> Subject: Re: /usr/src/etc To: jfieber@cs.smith.edu (John Fieber) Date: Wed, 24 May 1995 02:27:44 -0500 (CDT) Cc: uh@grep.cs.fsu.edu, current@FreeBSD.org In-Reply-To: <199505231903.PAA05845@grendel.csc.smith.edu> from "John Fieber" at May 23, 95 03:03:21 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1619 Sender: current-owner@FreeBSD.org Precedence: bulk > Gang-Ryung Uh writes: > > I have upgraded my system to FreeBSD-current. But I belive > > there are some differences between "/etc" and "/usr/src/etc". > > > > What is the best way to incorporate the changes in /usr/src/etc > > to /etc ? > > I'm not claiming it is the best way, but what I did was to make a > copy of my existing /etc, then do a "make distribution" in > /usr/src/etc (which also rebuilds /dev), then delete all the old > files in /etc (date < newly installed files), then manually bring > customizations from the old /etc into the new. You might try what I do on my systems. Create a /usr/src/local/etc directory. Anytime I modify anything in /etc, I place a copy in /usr/src/local/etc. Since I run a -current system, every couple of weeks I diff my /usr/src/local/etc with /usr/src/etc and see if my files need upgrading. My goal is that I should be able to blow away /etc/* and replace with with "cp /usr/src/etc/* /etc; cp /usr/src/local/etc/* /etc" without any problems. So far so good. At least with this method you should know which files you modified, so you don't spend too much time looking at diffs for files you never even knew you had on your machine. You just have to be disciplined enough to make sure that any changes you make in /etc make it back to /usr/src/local/etc. I haven't had a problems with that, but it might take a few kicks in the butt if you administer a machine that many people have root access on and they also change boot/configuration items. -- Mike Pritchard pritc003@maroon.tc.umn.edu "Go that way. Really fast. If something gets in your way, turn"