Re: mergemaster question

2002-10-26 Thread Mikko Työläjärvi
On Sat, 26 Oct 2002, David Banning wrote:

> I am just in the process of upgrading from 4.5S to 4.7 and I will
> be running mergemaster.
>
> One thing I notice using mergemaster is that it seems to take such a long
> time. Is there a quicker way? It wants to replace alot of files,
> and that's OK for me 95% of the time.
> Only a few I want to keep or merge.
>
> Am I missing something, or is it just a part of upgrading that you must
> decide, file by file which will be modified or replaced?

There will only be a lot of files to update if it has been a long time
since you last rebuilt everything and ran mergemaster.

You can reduce the number of files to check by copying files you know
you have not modified before running mergemaster, e.g.:

 cp /usr/src/etc/mtree/* /etc/mtree
 cp /usr/src/etc/defaults/* /etc/defaults
 cp /usr/src/etc/rc /etc
 cp /usr/src/etc/rc.{diskless*,i386,network*} /etc

I think there are hooks in mergemaster that allow you to script some
of this stuff, but I've never gotten around to use them.

   $.02,
   /Mikko


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: mergemaster question

2002-10-26 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

>> (10.26.2002 @ 1650 PST): David Banning said, in 0.5K: <<
> I am just in the process of upgrading from 4.5S to 4.7 and I will
> be running mergemaster.
> 
> One thing I notice using mergemaster is that it seems to take such a long
> time. Is there a quicker way? It wants to replace alot of files,
> and that's OK for me 95% of the time.
> Only a few I want to keep or merge.
> 
> Am I missing something, or is it just a part of upgrading that you must
> decide, file by file which will be modified or replaced?
>> end of "mergemaster question" from David Banning <<

Nope, you're not missing anything ::)

Overwriting system binaries and libraries is the easy part. You don't
want an installer overwriting your files in /etc... that's where all the
things that make your system what it is live. A good number of files
changed from 4.5 to 4.7, but mergemaster shouldn't take a long time...
as compared to, say, building world, or even installing world.

Unless you've modified lots of stuff, it's perfectly fine to let
mergemaster overwrite nearly everything. But it's worth paying attention
to: one of the things you'll be needing to merge is /etc/master.passwd.
If you let mergemaster overwrite it, you'll lose your users.

Also keep in mind that the more time between upgrades, the more files
have to be overwritten. Very few /etc files changed from 4.6.2 to 4.7.

- -Adam


- --
Adam Weinberger
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE9uzHMo8KM2ULHQ/0RAl3nAKCtoa2XY4h2eJMjZ9YqQOzvZJny1wCgweKb
c0EmxMruNeLz0a/FebrkdBs=
=4J3t
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: mergemaster question

2002-10-26 Thread DaleCo Help Desk
From: "David Banning" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 26, 2002 6:50 PM
Subject: mergemaster question


> I am just in the process of upgrading from 4.5S to 4.7 and I will
> be running mergemaster.
>
> One thing I notice using mergemaster is that it seems to take such
a long
> time. Is there a quicker way? It wants to replace alot of files,
> and that's OK for me 95% of the time.
> Only a few I want to keep or merge.
>
> Am I missing something, or is it just a part of upgrading that you
must
> decide, file by file which will be modified or replaced?
>

I'm guessing that a) the versatility of FBSD in general and
b) the sheer amount of effort involved in keeping up with
the entire OS have something to do with this.

Seems like it'd be really quite difficult to determine which
files _everyone_ would think don't need to be kept or
merged.  And certainly, you can't depend on everyone
to read all the changes themselves.

Kevin Kinsey



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



mergemaster question

2002-10-26 Thread David Banning
I am just in the process of upgrading from 4.5S to 4.7 and I will
be running mergemaster.

One thing I notice using mergemaster is that it seems to take such a long
time. Is there a quicker way? It wants to replace alot of files,
and that's OK for me 95% of the time.
Only a few I want to keep or merge.

Am I missing something, or is it just a part of upgrading that you must
decide, file by file which will be modified or replaced?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message