Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 03:37:46 -0700
From:      "Philip J. Koenig" <pjklist@ekahuna.com>
To:        stable@FreeBSD.ORG
Subject:   Re: /etc/defaults/rc.conf theory
Message-ID:  <20020423103747777.AAA735@empty1.ekahuna.com@pc02.ekahuna.com>
In-Reply-To: <bulk.99963.20020421152204@hub.freebsd.org>

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

> > 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, 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. (what 
happens in mergemaster if I try to spawn another shell from within 
it?  Not sure what that would do to my logging of mergemaster using 
tee, and I'm afraid of hitting a wrong key because some things happen 
with a single keypress - ie the default action when pressing 
'enter'.)  Maybe I should get in the habit of running screen 
(/usr/ports/misc/screen) before mergemaster.

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. (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.)


> > A section of mergemaster which prints key "heads up" items
> > pertaining to the current build would also be extremely helpful.
> 
>  This is already there for you in UPDATING.


UPDATING is OK, as long as all the recent changes are at the top of 
the file.. since it contains stuff going back several years. 

(But in my dreams I fantasize about something that can pickup on the 
major FreeBSD release you're currently running using uname, and just 
show items that have changed between what you're running and what 
you're upgrading to.  A little redundancy is fine, ie if running 4.3-
STABLE, show stuff going back to the original release of 4.3.  Maybe 
uname wouldn't work if people install and boot the new kernel before 
running mergemaster?)



--
Philip J. Koenig                                       pjklist@ekahuna.com
Electric Kahuna Systems -- Computers & Communications for the New Millenium


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020423103747777.AAA735>