NetBSD-Users archive

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

Poor man's solution to /etc when upgrading system?



Hello,

following up from the multiple recent thread regarding best way to
upgrade the system and etcmanage, I wonder if a quicker and better
solution could be the following:

1) Insert installation cd/usb and boot
2) mount the installed system and mv /etc to /etc.old
3) Upgrade all sets, including etc
4) Copy/restore individual files from /etc.old if/when needed

Alternatively, I remember (but memory may fail) that old Slackware
versions came with a script to rename all copies of /etc files with a
.new suffix.

Maybe one could write a script to detect if a file exists, and if so,
install a new file with a .new extension.

I am not sure if etcmanage already does that.

Thanks

-- 
Ottavio


Home | Main Index | Thread Index | Old Index