update system configuration files
is a utility designed to help the
administrator update configuration files after upgrading to a new release or
works by comparing a reference root
directory against currently installed files.
will work through the fileset, offering
the chance to merge any differences using
. Merged files may be
edited using the default editor or be left to deal with at a later date.
Should any problems occur, such as a failure to upgrade a file, the user will
be notified and will have to deal with the issue by hand.
By default (if -d
is not used)
only compares files whose reference
sources have changed since the last run and attempts to automatically upgrade
them to the newest version, provided that they have no local changes. It
automatically installs missing files and binaries, and updates files differing
only by CVS Id. Files whose reference sources have matching CVS Id are skipped
from comparison. /etc/fbtab
are created using helper scripts and
compared. Users and groups that are
missing from the current installation but present in the new
be automatically (re)created.
will finish by running
to make sure the
directory structure has correct permissions.
The options are as follows:
- Batch mode. sysmerge runs
non-interactively, saving differing files for later manual
- Diff mode. sysmerge does not
take any automatic action, allowing for a full diff comparison.
- Package mode. sysmerge only
compares the default configuration files of installed
packages(7) against their
target on the system (@sample).
Files can be excluded from comparison by listing them in
. Checksum files stored under
as well as the following files will
always be skipped from direct comparison:
- Specifies an editor to use. If both
VISUAL are set,
VISUAL takes precedence. If neither
VISUAL are set, the default is
- Specifies the pagination program to use. If
PAGER is empty or not set,
more(1) will be used.
- Files and directories to ignore from comparison.
- Directory containing backup of
sysmerge last run modified files. Rotated
automatically in order of increasing age from
- Base system set containing the reference files
corresponding to the currently installed release.
- X(7) set
containing the reference files corresponding to the currently installed
script first appeared in
was written by
It was originally started as a friendly fork from mergemaster by