From owner-freebsd-stable Tue Apr 23 22:27:55 2002 Delivered-To: freebsd-stable@freebsd.org Received: from 12-234-22-238.client.attbi.com (12-234-90-219.client.attbi.com [12.234.90.219]) by hub.freebsd.org (Postfix) with ESMTP id 4B43537B419 for ; Tue, 23 Apr 2002 22:27:49 -0700 (PDT) Received: from Master.gorean.org (master.gorean.org [10.0.0.2]) by 12-234-22-238.client.attbi.com (8.12.2/8.12.2) with ESMTP id g3O5RlHt079324; Tue, 23 Apr 2002 22:27:47 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from Master.gorean.org (zoot [127.0.0.1]) by Master.gorean.org (8.12.2/8.12.2) with ESMTP id g3O5RnLr066544; Tue, 23 Apr 2002 22:27:49 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from localhost (doug@localhost) by Master.gorean.org (8.12.2/8.12.2/Submit) with ESMTP id g3O5Rnqv066541; Tue, 23 Apr 2002 22:27:49 -0700 (PDT) X-Authentication-Warning: Master.gorean.org: doug owned process doing -bs Date: Tue, 23 Apr 2002 22:27:49 -0700 (PDT) From: Doug Barton X-X-Sender: doug@master.gorean.org To: "Philip J. Koenig" Cc: stable@FreeBSD.org Subject: mergemaster theory (was: Re: /etc/defaults/rc.conf theory) In-Reply-To: <20020423103747777.AAA735@empty1.ekahuna.com@pc02.ekahuna.com> Message-ID: <20020423222117.U66402-100000@master.gorean.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 23 Apr 2002, Philip J. Koenig wrote: > > > > What I think would be a better way of approaching it is to > > > incorporate some method of informing users during the upgrade > > > process, probably part of mergemaster, of what has changed in > > > /etc/defaults. > > > > Assuming that you run mergemaster, you'll see the diff before > > being presented the options to install, delete, etc. > > > Yes, but the problem I usually have is twofold: I usually run > mergemaster in single-user mode, You don't have to do that. Nothing you install in /etc (except hosts.allow) affects a running system.... I usually mergemaster in X. :) > and as such if I run into some kind of difficulty (not sure whether to > install/merge/delete) and want to do something like take a detailed look > at or backup a file first, I can't switch to another console to look > at/change things. Well, the default option is to do nothing, which will leave the file for you to look at later. It may cost you more rebooting, but at least you can deal with it at your convenience. > Some files are also bigger than the scrollback buffer so I can't see > all the changes without "merging" them or dealing with them > separately. Ummm... how old of a version of mergemaster are you running? The diffs are sent to your favorite $PAGER ('more' by default), and you can view a file after the merge, which is also sent to $PAGER. I think you should read the man page again, and pay more attention to those little menus I spend so much time formatting. :) > (I have this personal problem with the 'merge' process > using sdiff.. every time I try to use it I have some kind of > keyboard/command/viewing problem and screw things up. Maybe I just > need more practice.) Well, you can create your own little tree with 'mergemaster -D/my/fake/root' and practice away. :) No worries. Good luck, Doug -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message