Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 22:03:38 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Janos Mohacsi <mohacsi@niif.hu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: using freebsd-update to revert back to GENERIC config files?
Message-ID:  <20131111220338.ed645ada.freebsd@edvax.de>
In-Reply-To: <52813F9D.5090802@niif.hu>
References:  <52813F9D.5090802@niif.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Nov 2013 21:35:41 +0100, Janos Mohacsi wrote:
> Is there a clean way to overvwrite these files with the GENERIC during
> 9.2-RELEASE upgrade?

Don't confuse GENERIC (the name of the configuration file for
the kernel distributed with FreeBSD releases) with the stock
configuration files. There is no direct relationship.

You could try to copy the (unmodified, stock) configuration
files if you have used freebsd-update to get the "src"
distribution, i. e. the /usr/src tree. Here you will find
the /usr/src/etc directory from which you could "make install",
and there's also the /usr/src/etc/mail subdirectory with the
configuration files that would go to /etc/mail - you can try
to copy them manually.

Of course, it's "cleaner" to use mergemaster to deal with
modified configuration files, such as it is being done around
a "make installworld" run, but as you said you're using the
binary update method, the system should forgive my suggestion
of the unholy blasphemy that arises from manually copying
files. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131111220338.ed645ada.freebsd>