Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2010 13:01:14 +0100
From:      krad <kraduk@googlemail.com>
To:        bf1783@gmail.com
Cc:        freebsd-questions@freebsd.org, zaxis <z_axis@163.com>
Subject:   Re: I donot like using mergemaster ?
Message-ID:  <AANLkTimKYfHBN2mg-TeLK4fiSDTQnsD0-XqVEFSUKkw8@mail.gmail.com>
In-Reply-To: <AANLkTikWDwh-yc_O=KEHvshYxUJvjzhHTxx4a4WYAzEM@mail.gmail.com>
References:  <AANLkTikWDwh-yc_O=KEHvshYxUJvjzhHTxx4a4WYAzEM@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27 July 2010 11:09, b. f. <bf1783@googlemail.com> wrote:

> On Monday 26 July 2010, zaxis wrote:
> > I want to upgrade my freebsd 8.0  to 8.1.  I have read all the steps
> > about upgrading freebsd. I feel mergemaster  is difficult to use e.g.
> > which parameters should i use ?   (you may wish to use -U or -ai or
> > -Fi)
>
> Well, obviously you will get more out of mergemaster if you read the
> manpage and take the time to decide which options will work best for
> you.  But if you can't be bothered to do that, the suggested usage in
> /usr/src/UPDATING works for most people.  Also, there is an
> alternative to mergemaster that is supposed to be easier to use in
> some ways: John Baldwin's new port, sysutils/etcupdate.  You may want
> to take a look at that.
>
>
> b.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>


here is my mergemaster config. Modify the ignore files to suite your needs
then just run mergemaster without any switches. Its not perfect but works
for me fine.

# cat /etc/mergemaster.rc
AUTO_INSTALL=YES
AUTO_UPGRADE=YES
PRESERVE_FILES=yes
PRESERVE_FILES_DIR=/var/mergemaster/preserved-files-`date +%y%m%d-%H%M%S`

IGNORE_FILES="/etc/crontab /etc/fstab /etc/group /etc/hosts /etc/inetd.conf
/etc/make.conf /etc/master.passwd /etc/motd /etc/newsyslog.conf
/etc/ntp.conf /etc/ntp.drift /etc/profile /etc/rc.conf /etc/resolv.conf
/etc/services /etc/shells /etc/syslog.conf /etc/ssh/sshd_config
/etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub /etc/passwd /etc/rc.conf.local
/etc/zfs/exports /etc//namedb/named.conf /etc/periodic.conf /etc/hosts.allow
/etc/hosts /etc/pf.conf /etc/sysctl.conf /etc/make.conf /etc/src.conf
/etc/mail/aliases /etc/mail/mailer.conf /etc/remote
/etc/mail/freebsd.mc/etc/mail/
freebsd.cf /etc/mail/freebsd.submit.mc /etc/mail/freebsd.submit.cf"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimKYfHBN2mg-TeLK4fiSDTQnsD0-XqVEFSUKkw8>