Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2000 10:33:08 -0300 (ADT)
From:      Bryan Bursey <bbmail@cfdnet.me.tuns.ca>
To:        Thomas Bader <thomasb@trash.net>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: Chapter ``18.4.7. Update /etc'' in the handbook
Message-ID:  <Pine.BSF.4.10.10008061028390.14986-100000@cfdnet.me.tuns.ca>
In-Reply-To: <20000806152439.A18638@trash.net>

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

Have you looked at 'mergemaster' which is basically just a shell script
included in the base system which walks you through the updating of /etc
(checking the diffs and asking the user if (s)he's like to install the
file, delete the file, or merge this new file and the existing one.

'mergemaster' also runs 'sh /dev/MAKEDEV all' to remake all your devices.
I believe this script is now the supported method of keeping things up to
date after a 'make world'.  Its mentioned in /usr/src/UPDATING, but I'm
not sure if its in the beloved FreeBSD Handbook.

Regards,
Bryan

On Sun, 6 Aug 2000, Thomas Bader wrote:

> Hi!
>=20
> To merge the new /etc-files, I did the following:
>=20
>   cp -Rp /etc /etc.old
>   mkdir /var/tmp/root
>   cd /usr/src/etc
>   make DESTDIR=3D/var/tmp/root distrib-dirs distribution
>   cd /var/tmp/root
>   diff -r etc /etc | less
>=20
> This way I can see, which files have changed and I can copy
> or merge them to /etc.  This is much easier then making a
> timestamp in /var/tmp/root every time a "make world" is
> performed and one can do this even if he has not did it
> before and therefore has no /var/tmp/root with a timestamp.
> And, finally, it is much easier then do a diff for each file
> manually.
>=20
> Couldn't be that mentioned in the handbook?
>=20
> Thomas
> --=20
>   .-.   Thomas Bader =B7 thomasb@trash.net.remove =B7 http://www.t-bader.=
ch/  .-.
>   oo|                                                                    =
 oo|
>  /`'\     Einen Unix-Shellaccount gibt es unter http://www.trash.net/    =
/`'\
> (\_;/)       PGP Key-ID: 0x3A4B7F5D (RSA)  0x7584F5D8 (DSA/EG)          (=
\_;/)
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-doc" in the body of the message
>=20



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10008061028390.14986-100000>