Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 20:30:01 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Rafael Rodrigues Nakano <mseqs@bsd.com.br>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Updating sources and rebuilding system
Message-ID:  <20160609033001.GT28804@albert.catwhisker.org>
In-Reply-To: <CA%2B627Jqo5reyrJzgto2t%2BHnKdSG2uXgck3eyeaY3B_kE4GOB_A@mail.gmail.com>
References:  <CA%2B627Jqo5reyrJzgto2t%2BHnKdSG2uXgck3eyeaY3B_kE4GOB_A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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.,
<http://www.catwhisker.org/~david/FreeBSD/history/>; 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160609033001.GT28804>