easy way to upgrade from 6.3 to 7.1 (including port packages)

martinko gamato at users.sf.net
Sat Oct 25 07:40:00 PDT 2008


Oliver Fromme wrote:
> martinko <gamato at users.sf.net> wrote:
>  > 1)  I wonder if I could use mergemaster to compare 2 directories and 
>  > merge differencies as neccessary.  To explain: I have all config files I 
>  > touch saved with full path somewhere in /root.  And therefore I'd like 
>  > mergemaster or some other tool to compare all files in my backup 
>  > directory with newly installed (config) files.
> 
> You can use mergemaster against any directory, not just
> /etc.  This is especially useful when perforing a binary
> update, a cross update or similar things.
> 

No, you cannot.
I have all config files I edited saved with full path under my backup 
directory and I would like to use mergemaster or something similar to 
compare and merge my changes (perhaps from other machine).  But if you 
try to use mergemaster (you need to specify both -m and -D) it would try 
to run make (1) which fails since there is no Makefile in my backup dir. :-(

> For example, suppose you have a freshly installed system
> (including /usr/src) with a virgin /etc directory, and
> you've got a copy of an old etc directory (with local
> modifications) in /root/etc.old.  Then you can do this:
> 
> # mergemaster -D /root/etc.old
> 
> And all new things will be merged into /root/etc.old.
> When you're done, simply copy /root/etc.old to /etc and
> reboot.  (You might want to keep a copy of the original
> contents of the directory, just to be on the safe side.)
> 
> Best regards
>    Oliver
> 



More information about the freebsd-stable mailing list