Date: Mon, 27 Oct 2008 20:44:22 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG Subject: Re: easy way to upgrade from 6.3 to 7.1 (including port packages) Message-ID: <200810271944.m9RJiMmo031777@lurza.secnetix.de> In-Reply-To: <ge513r$ohl$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
martinko <gamato@users.sf.net> wrote: > Oliver Fromme wrote: > I'd like a more general purpose utility, be it mergemaster or sth else. > I like the way mergemaster works but I'd like to use it not only for > /etc (after make) -- I'd like to point it to my backup directory which > doesn't contain all of /etc and compare the files it finds with those in > /etc. That can be done like this, assuming /root/etcbak is your backup directory, and also assuming that /usr/src is of the same date as /etc (if not, use cvsup or csup to bring it to the same date). # mkdir -p /tmp/newroot # find /etc /root/etcbak | cpio -dump /tmp/newroot # cd /root/etcbak # mergemaster -D /tmp/newroot The result of the merge will be in /tmp/newroot/etc. > Or point it to arbitrary 2 directories and compare their files. You can compare arbitrary directories with diff -r. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Perl will consistently give you what you want, unless what you want is consistency." -- Larry Wall
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810271944.m9RJiMmo031777>