using freebsd-update to revert back to GENERIC config files?

Polytropon freebsd at
Mon Nov 11 21:03:52 UTC 2013

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. :-)

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

More information about the freebsd-questions mailing list