diff
. But I feel there's probably a better way.It will require the sources but you can runActually, I'm curious myself: Is there a way to take care of "deleted" files when updating this way? I.e., files that are present in the current system, but not in the extracted installation.
make delete-old
and make delete-old-libs
in /usr/src. delete-old Delete obsolete base system files and directories
interactively. When -DBATCH_DELETE_OLD_FILES is
specified at the command line, the delete operation
will be non-interactive. The variables DESTDIR,
TARGET_ARCH and TARGET should be set as with “make
installworld”.
delete-old-libs Delete obsolete base system libraries interactively.
This target should only be used if no third party
software uses these libraries. When
-DBATCH_DELETE_OLD_FILES is specified at the command
line, the delete operation will be non-interactive.
The variables DESTDIR, TARGET_ARCH and TARGET should
be set as with “make installworld”.
After thinking about it then I should make a copy of at least group passwd and pwd.db in case I can't login afterwards.It might work, I've done that to get completely hosed systems back working. But I would just use freebsd-update(8) if you can.
It's always a good idea to make backups of important files, just in case. Do /etc/spwd.db and /etc/master.passwd too. The actual user accounts and passwords are somewhat spread out over numerous files.After thinking about it then I should make a copy of at least group passwd and pwd.db in case I can't login afterwards.