NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New ver NetBSD and the /etc files.



> Each time I upgrade NetBSD, I need to use the *.conf files
> I tweeked.  How do people keep these files, and then add them to
> ther new /etc dir ??

Instead of extracting the etc.tgz set, use etcupdate to
selectively apply changes, like so:

cd /
etcupdate -s $whereever/etc.tgz

and skip those where you have made local changes.

Some of the files in the etc.tgz set you typically never want to
apply from the set, such as etc/master.passwd, etc/group, and
etc/rc.conf, but etcupdate still asks you how to handle those.

True, some "system-supplied users" may come along with an update,
and diffs to apply those will still come from postinstall which
is run in the later stages of etcupdte.

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index