From owner-freebsd-stable@FreeBSD.ORG Sun Apr 20 16:03:14 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA7ED37B401; Sun, 20 Apr 2003 16:03:14 -0700 (PDT) Received: from voo.doo.net (voo.doo.net [81.17.45.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id E34F043FAF; Sun, 20 Apr 2003 16:03:12 -0700 (PDT) (envelope-from marc@schneiders.org) Received: from localhost (localhost [127.0.0.1]) by voo.doo.net (8.12.8/8.12.6) with ESMTP id h3KN36Je037185; Mon, 21 Apr 2003 01:03:08 +0200 (CEST) (envelope-from marc@schneiders.org) Date: Mon, 21 Apr 2003 01:03:06 +0200 (CEST) From: Marc Schneiders Sender: To: Doug Barton In-Reply-To: <20030420151937.V631@znfgre.tberna.bet> Message-ID: <20030421003459.M36869-100000@voo.doo.net> X-Preferred-email-to: marc@schneiders.org X-Other-email-to: marc@venster.nl X-Organization: Venster (Zeist - NL) X-URL: http://www.bijt.net/ X-SOA: A.ROOT-SERVERS.ORSC. X-OS: FreeBSD: The Power to Serve MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Anton Zavrin cc: freebsd-stable@freebsd.org Subject: Mergemaster Request (RE: mergemaster tips) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 23:03:15 -0000 On Sun, 20 Apr 2003, at 15:22 [=GMT-0700], Doug Barton wrote: > Ok, can you give me an example of something that you don't understand? I > tried to be quite thorough in the man page, And you are. I just read it for the first time after using mergemaster for 3 or 4 years, and I learned a lot. As a result I set up a script to back up my old /etc to some subdir by date and time and run that through the mergemaster option to run something before it. I thought this was clever, but I now see this isn't good enough. I do not want to get an archive, in addition to normal backups, of a complete 10 MB /etc directory each time I upgrade. So here is the feature request: Is it possible to have a new option in mergemaster: -b (path) Make a backup of every file that mergemaster overwrites, whether on user input or automatically. Mergemaster writes the files in a directory with a timestamp name (YYYYMMDD-HHMMSS) under the path indicated. This would give us an archive of the config changes on the machine. I do not have enough scripting to squeeze this into mergemaster myself. Nothing near it.