Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2000 22:07:32 +0300
From:      "Artem Koutchine" <matrix@ipform.ru>
To:        <Gilles.Guerrini@alcatel.fr>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: mergemaster
Message-ID:  <001b01c063a5$a04676a0$0c00a8c0@ipform.ru>
References:  <C12569B2.0054F8EE.00@frmail19.netfr.alcatel.fr> <20001211105219.B16205@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

I think somebody should write a nice tutorial on the mergemaster :) Maybe
I'll do it, if
there is none by now.

Well, anyway.
The rules are:
1) Install the files, which have never been customizes for your particular
installation of FreeBSD. (YOU MUST BE SURE).

Usual examples:
/etc/defaults/rc.conf
/etc/periodic/*

2) NEVER INSTALL the files which have been customized for sure.

Usual suspects:
/etc/master.passwd
/etc/group
/etc/hosts

3) MERGE some specific files which can be customized but still need to be
upgraded:

Usual suspects:
/etc/crontab

However, i usually manage to do it by hand instead of using the merger

4) Do not delete the tree after mergemaster in the /tmp It'll help to solve
some problems if you have any. This rule applies only to beginners


5) Do upgrades more often. You'll have less file to merge :)

THE RULES NUMBER '0' (ZERO THAT IS):

LEARN THE MEANING OF EACH AND EVERY FILE (POSSIBLE GROUPPED
BY DIRECTORY) IN THE /etc

By now mergmaster take about 3 to 5 minutes after installworld for me.

I wonder if this procedure can be a little bit more automatic. For example,
the mergmaster checks if the file have been actually changed, and it was not
(from the original file of the prev mergmaster) than it can pretty much
install a new
version of it, otherwiese - ask the user. The problem is to determine
whether it was
changed :)

Regards,
Artem



----- Original Message -----
From: "Alfred Perlstein" <bright@wintelcom.net>
To: <Gilles.Guerrini@alcatel.fr>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Monday, December 11, 2000 9:52 PM
Subject: Re: mergemaster


> * Gilles.Guerrini@alcatel.fr <Gilles.Guerrini@alcatel.fr> [001211 07:28]
wrote:
> >
> >
> > Hello,
> > i want to update my FreeBSD from 4.1 release to 4.2 RELEASE. What a good
idea !!
> > When I do a 'mergemaster', by default, if there is no personnal change,
must I 'delete' the new file
> > or must I 'install' it ??
>
> most likely install, but be careful. :)
>
> --
> -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
> "I have the heart of a child; I keep it in a jar on my desk."
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001b01c063a5$a04676a0$0c00a8c0>