On 2002-11-11 11:57, "Gary W. Swearingen" <[EMAIL PROTECTED]> wrote:
> Dirk-Willem van Gulik <[EMAIL PROTECTED]> writes:
> > One would almost wish that things like the /etc/rc.conf, named and *mc
> > files where there too :-)
>
> One guru who used to post here frequently kept /etc in CVS (and I suppose
> that he backed that up).

Well, if you are really one of the devoted believers of the
alt.religion.cvs group, that's not really *very* hard to do.

Keeping files directly under CVS control can get tricky, especially
when permissions are involved.  But... you can always roll your own
branch of /usr/src/etc in a local CVS repository, and use the merging
capabilities of CVS to keep the files in sync with the current FreeBSD
source.  If you are interested in -STABLE which rarely changes, you'll
find that it's not really hard to keep your local branch in sync with
the FreeBSD source.

Then you can check out a copy of the local branch in /tmp/etc and use
a good old tool, that we all know about, mergemaster(1):

        # mergemaster -m /tmp/etc

The trick here is that you can use the nice, working Makefiles of
FreeBSD and mergemaster, to update your /etc from a local branch,
which accidentally happens to include all the proper changes for
your local setup :-)

Giorgos.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to