Date: Fri, 10 May 2002 16:38:53 +0200 (CEST) From: Martin Heinen <martin@sumuk.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/37925: [PATCH] cutting-edge: clarify mergemaster discussion Message-ID: <200205101438.g4AEcqw22650@Moses.earth.sol>
next in thread | raw e-mail | index | archive | help
>Number: 37925 >Category: docs >Synopsis: [PATCH] cutting-edge: clarify mergemaster discussion >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri May 10 07:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Martin Heinen >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD Moses.earth.sol 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Dec 22 07:35:30 CET 2001 toor@Moses.earth.sol:/usr/obj/usr/src/sys/MOSES i386 >Description: When discussing the update of configuration files, the handbook suggests to use mergemaster and in the same sentence suggests to skip over the following discussion of mergemaster. Also note that only half of the section is relevant to the user, regardless of which method (mergemaster or manual update) is chosen. Introduced two new <sect3> to deal with mergemaster and the manual update. Placed the link to skip the discussion in the section dealing with the manal update method since this is the deprecated one. >How-To-Repeat: Read 'Update Files Not Updated by make world' in the chapter 'The Cutting Edge'. >Fix: Index: chapter.sgml =================================================================== RCS file: /u/cvs/doc/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.sgml,v retrieving revision 1.120 diff -u -r1.120 chapter.sgml --- chapter.sgml 4 May 2002 14:22:34 -0000 1.120 +++ chapter.sgml 10 May 2002 13:59:41 -0000 @@ -1060,16 +1060,16 @@ <para>Remaking the world will not update certain directories (in particular, <filename>/etc</filename>, <filename>/var</filename> and <filename>/usr</filename>) with new or changed configuration files.</para> - <indexterm><primary><command>mergemaster</command></primary></indexterm> <para>The simplest way to update these files is to use &man.mergemaster.8;, though it is possible to do it manually - if you would prefer to do that. We strongly recommend you - use &man.mergemaster.8;, however, and if you do then you - can skip forward to the <link linkend="update-dev">next - section</link>, since &man.mergemaster.8; is described below. - Be sure to make a backup of - <filename>/etc</filename> in case anything goes wrong.</para> + if you would prefer to do that. Regardless of which way you + choose, be sure to make a backup of <filename>/etc</filename> in + case anything goes wrong.</para> + + <sect3> + <title><command>mergemaster</command></title> + <indexterm><primary><command>mergemaster</command></primary></indexterm> <para>The &man.mergemaster.8; utility is a Bourne script that will aid you in determining the differences between your configuration files @@ -1128,6 +1128,10 @@ prompted for other options. &man.mergemaster.8; will ask if you want to rebuild the password file, run <filename>MAKEDEV</filename> and finishing up with a removal of the left over temporary files.</para> + </sect3> + + <sect3> + <title>Manual Update</title> <para>If you wish to do the update manually, however, you cannot just copy over the files from @@ -1139,6 +1143,10 @@ there are files that should be in <filename>/etc</filename> that are not in <filename>/usr/src/etc</filename>.</para> + <para>If you are using &man.mergemaster.8; (as recommended), + you can skip forward to the <link linkend="update-dev">next + section</link>.</para> + <para>The simplest way to do this by hand is to install the files into a new directory, and then work through them looking for differences.</para> @@ -1281,6 +1289,7 @@ <screen>&prompt.root; <userinput>mkdir /var/tmp/root-`date "+%Y%m%d"`</userinput></screen> </tip> + </sect3> </sect2> <sect2 id="update-dev"> >Release-Note: >Audit-Trail: >Unformatted: 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?200205101438.g4AEcqw22650>