Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2000 15:24:39 +0200
From:      Thomas Bader <thomasb@trash.net>
To:        freebsd-doc@FreeBSD.ORG
Subject:   Chapter ``18.4.7. Update /etc'' in the handbook
Message-ID:  <20000806152439.A18638@trash.net>

next in thread | raw e-mail | index | archive | help
Hi!

To merge the new /etc-files, I did the following:

  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

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.

Couldn't be that mentioned in the handbook?

Thomas
--=20
  .-.   Thomas Bader =B7 thomasb@trash.net.remove =B7 http://www.t-bader.ch=
/  .-.
  oo|                                                                     o=
o|
 /`'\     Einen Unix-Shellaccount gibt es unter http://www.trash.net/    /`=
'\
(\_;/)       PGP Key-ID: 0x3A4B7F5D (RSA)  0x7584F5D8 (DSA/EG)          (\_=
;/)


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?20000806152439.A18638>