Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2012 21:18:42 +0000
From:      krad <kraduk@gmail.com>
To:        Net Warrior <netwarrior863@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Mergemaster
Message-ID:  <CALfReyd9n_SfNv5MRsvWhGKvbn8D8HDD73W8==66phwAzMgqVg@mail.gmail.com>
In-Reply-To: <4F2F17D4.1070206@gmail.com>
References:  <4F2F17D4.1070206@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 5 February 2012 23:59, Net Warrior <netwarrior863@gmail.com> wrote:

> Hi there.
>
> I found very tedious when , after a makeworld the mergemaster process to
> say (i) to install/upgrade/replace/  with the new file, specially when
> there are a lot of files  I was reading the documentation but it's not
> clear to me which option to use to automate the process, which is the right
> one, or combination?
>
> -U -F -iF?
>
> Thanks for your time and support
> Regards
> ______________________________**_________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>;
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscribe@freebsd.org <freebsd-questions-unsubscribe@freebsd.org>"
>


here is my rc file it takes care of most of the stuff. Once installed just
run mergemaster with no flags

$ cat /etc/mergemaster.rc
AUTO_INSTALL=YES
AUTO_UPGRADE=YES
PRESERVE_FILES=yes
#IGNORE_FILES="/etc/rc.d/*"
DIFF_OPTIONS='-I$FreeBSD:.*[$]'

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/ppp/ppp.conf /etc/nsswitch.conf /etc/locate.rc"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CALfReyd9n_SfNv5MRsvWhGKvbn8D8HDD73W8==66phwAzMgqVg>