Diff for /wikisrc/guide/updating.mdwn between versions 1.3 and 1.5

version 1.3, 2013/03/05 23:12:41 version 1.5, 2015/06/19 19:18:31
Line 1 Line 1
   **Contents**
   
   [[!toc levels=3]]
   
 # Updating an existing system from sources  # Updating an existing system from sources
   
 A common mechanism for upgrading a NetBSD system to a newer version is by  A common mechanism for upgrading a NetBSD system to a newer version is by
Line 69  booting the `netbsd.old` kernel. Line 73  booting the `netbsd.old` kernel.
 ### Updating the system configuration files  ### Updating the system configuration files
   
 Run the `etcupdate` script  Run the `etcupdate` script
 ([etcupdate(8)](http://netbsd.gw.com/cgi-bin/man-cgi?etcupdate+8+NetBSD-5.0.1+i386))  ([[!template id=man name="etcupdate" section="8"]])
 and follow the instructions in the output for fixing obsolete files:  and follow the instructions in the output for fixing obsolete files:
   
     # /usr/sbin/etcupdate -s /usr/src      # /usr/sbin/etcupdate -s /usr/src
Line 203  under your unprivileged user. The upgrad Line 207  under your unprivileged user. The upgrad
   
 The other alternative, in case you want to maintain your source trees in the  The other alternative, in case you want to maintain your source trees in the
 locations described by  locations described by
 [hier(7)](http://netbsd.gw.com/cgi-bin/man-cgi?hier+7+NetBSD-5.0.1+i386), is  [[!template id=man name="hier" section="7"]], is
 to do the following as root:  to do the following as root:
   
     # mkdir -p /usr/src /usr/xsrc      # mkdir -p /usr/src /usr/xsrc
Line 240  commands of the form: Line 244  commands of the form:
   
 ## More details about the updating of configuration and startup files  ## More details about the updating of configuration and startup files
   
 [etcupdate(8)](http://netbsd.gw.com/cgi-bin/man-cgi?etcupdate+8+NetBSD-current)  [[!template id=man name="etcupdate" section="8"]]
 is a script to help users compare, merge and install new configuration and  is a script to help users compare, merge and install new configuration and
 startup files (files found in the `etc.tgz` distribution set) in `/dev`, `/etc`  startup files (files found in the `etc.tgz` distribution set) in `/dev`, `/etc`
 and `/root` after performing an operating system upgrade. The upgrade of the  and `/root` after performing an operating system upgrade. The upgrade of the
Line 273  The `etcmanage` perl script (available f Line 277  The `etcmanage` perl script (available f
 [pkgsrc/sysutils/etcmanage](http://pkgsrc.se/sysutils/etcmanage) or as binary  [pkgsrc/sysutils/etcmanage](http://pkgsrc.se/sysutils/etcmanage) or as binary
 package) is an alternative to etcupdate(8). It should be used in the following  package) is an alternative to etcupdate(8). It should be used in the following
 way, in combination with  way, in combination with
 [postinstall(8)](http://netbsd.gw.com/cgi-bin/man-cgi?postinstall+8+NetBSD-5.0.1+i386):  [[!template id=man name="postinstall" section="8"]]:
   
     # /usr/pkg/bin/etcmanage      # /usr/pkg/bin/etcmanage
     # /usr/sbin/postinstall      # /usr/sbin/postinstall

Removed from v.1.3  
changed lines
  Added in v.1.5


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb