From owner-freebsd-hackers@freebsd.org Thu Jun 9 03:30:07 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7401DB6F866 for ; Thu, 9 Jun 2016 03:30:07 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4860E1C2C for ; Thu, 9 Jun 2016 03:30:06 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id u593U292043899; Thu, 9 Jun 2016 03:30:02 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id u593U15w043898; Wed, 8 Jun 2016 20:30:01 -0700 (PDT) (envelope-from david) Date: Wed, 8 Jun 2016 20:30:01 -0700 From: David Wolfskill To: Rafael Rodrigues Nakano Cc: freebsd-hackers@freebsd.org Subject: Re: Updating sources and rebuilding system Message-ID: <20160609033001.GT28804@albert.catwhisker.org> Reply-To: hackers@freebsd.org Mail-Followup-To: hackers@freebsd.org, Rafael Rodrigues Nakano , freebsd-hackers@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pd495SECmvzXpBRb" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 03:30:07 -0000 --pd495SECmvzXpBRb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 08, 2016 at 09:26:55PM -0300, Rafael Rodrigues Nakano wrote: > Hello guys, I have a question. >=20 > I update the system sources daily, and I want to know how often I should > rebuild the kernel and the world (if its actual necessary, I heard it tak= es > a very long time) after updating the sources. Thanks in advance > .... That depends... among other things, on why you (think you might) want to "rebuild the kernel and the world." I have some notes available (e.g., and links contained therein) on what I do. I recommend that folks almost certainly ought not copy that blindly, as my reasons for doing it are unlikely to be others'. As to how long it takes... well, that (also) depends. In my case, on my laptop, updating FreeBSD base this morning from FreeBSD 10.3-STABLE #387 r301506 to FreeBSD 10.3-STABLE #388 r301581 took: * 00:06 to update the sources; * 09:23 to rebuild the world & kernel, install the kernel & world & run mergemaster; * a few minutes (not recorded in a typescript) for a verbose boot; * 00:05 to "make delete-old-libs" and a bit of housekeeping. It then took: * 02:58 to update the installed ports (after which I rebooted again). [Above times are expressed in minutes:seconds, and based on the script(1) start & end timestamps.] During almost all of the above time, I was logged in to the laptop, running X11, catching up with email, and generally being fairly busy. As for the above-quoted timings: that's a "sample size" of "one," so expecting it to be representative based merely on what's been presented here would be silly. Also, a greater delay between updates "generally" corresponds to "more updates" -- and that often corresponds to more time required for the update, as well as a somewhat-higher probability of disruption. (You should read src/UPDATING for any recent notes before you do this sort of thing.) But unless you have some desire to be on the bleeding edge, you probably don't need to be doing any of this -- freebsd-update may meet your needs, for example. Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --pd495SECmvzXpBRb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJXWOK5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4X7lwH+wdckcbxPiW7nGK8evxOV9MG pjePoDxR6S8xziWr2nqcXEcbhMZnDaTqFN4q/7flicDAFgNY9aeg+pxnl13nBpfD JH1H6AM318qql2oPOcFp1fE8bS9Pv4BUBWc3AtCOzBtu30dWYg7kPVgLxLxTPKnj bs7TV6KoryEemKzFc1mywrkKCus5r1YjnyhYrb9yD0C2gIKdl85o/gdY333/QRvG DIAhScGf6nV2+/CuwRXPZncmUc5uE0QeUThaEqmx03IY81IAeiivBQkrGdMJnITg x7SbOd3JzhhHMZY8xF4Q9jrweNcJva51cIhmcsxT+QNtaz+CdZDfgYg9lsbGpz4= =g/K5 -----END PGP SIGNATURE----- --pd495SECmvzXpBRb--