From owner-freebsd-doc Sun Aug 6 6:24:53 2000 Delivered-To: freebsd-doc@freebsd.org Received: from stinky.trash.net (stinky.trash.net [195.141.182.42]) by hub.freebsd.org (Postfix) with ESMTP id 2E32B37BB3E for ; Sun, 6 Aug 2000 06:24:44 -0700 (PDT) (envelope-from thomasb@stinky.trash.net) Received: (from thomasb@localhost) by stinky.trash.net (8.10.1/8.10.1) id e76DOdx18767 for freebsd-doc@FreeBSD.ORG; Sun, 6 Aug 2000 15:24:39 +0200 (MET DST) Date: Sun, 6 Aug 2000 15:24:39 +0200 From: Thomas Bader To: freebsd-doc@FreeBSD.ORG Subject: Chapter ``18.4.7. Update /etc'' in the handbook Message-ID: <20000806152439.A18638@trash.net> Reply-To: Thomas Bader Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Mutt 1.0.1i Organization: trash.net - Internet Technology for everybody - http://www.trash.net/ X-Url: X-Cool: get your free UNIX account @ http://www.trash.net/ X-PGP-Key: mailto (automated reply) X-PGP-Algorithms: RSA and DSA/EG keys are available X-Operating-System: SunOS 5.7 sun4u sparc X-Editor: Vim-506 http://www.vim.org Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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