From owner-freebsd-questions Mon Dec 11 11: 7:52 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 11:07:48 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from osiris.ipform.ru (osiris.ipform.ru [212.158.165.98]) by hub.freebsd.org (Postfix) with ESMTP id E311F37B400 for ; Mon, 11 Dec 2000 11:07:46 -0800 (PST) Received: from wp2 (wp2 [192.168.0.12]) by osiris.ipform.ru (8.11.1/8.11.1) with SMTP id eBBJ7Z300527; Mon, 11 Dec 2000 22:07:35 +0300 (MSK) (envelope-from matrix@ipform.ru) Message-ID: <001b01c063a5$a04676a0$0c00a8c0@ipform.ru> From: "Artem Koutchine" To: Cc: References: <20001211105219.B16205@fw.wintelcom.net> Subject: Re: mergemaster Date: Mon, 11 Dec 2000 22:07:32 +0300 Organization: IP Form MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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" To: Cc: Sent: Monday, December 11, 2000 9:52 PM Subject: Re: mergemaster > * 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