Why Are You Using FreeBSD?

Matthew Seaman matthew at FreeBSD.org
Thu May 31 18:13:48 UTC 2012


On 31/05/2012 16:41, Damien Fleuriot wrote:
> You missed the bit about 3 reboots, while these don't take 15 mins each,
> they're still time consuming and disruptive.
> 1/ reboot after installing new kernel
> 2/ reboot after installing new world
> 3/ reboot after rebuilding ports

If you rebuilt the ports first, then you'ld only have two reboots.

Also, while the cautious approach detailed in /usr/src/UPDATING is never
wrong, much of the time you can do the upgrade perfectly well by
installing world+kernel together and just rebooting once.  Obviously
this is not a good idea if your machines are in a datacenter many miles
away and you don't have console-equivalent access or if you're upgrading
over a large delta in versions, or you're making major changes to the
kernel config.

This sort of operation is something that ZFS boot environment support
(recently committed to HEAD, due for MFC within the month) makes much,
much safer and easier to deal with.  You don't need to do a separate
reboot to test the kernel as you've still got an entire kernel+world in
the previous BE to fall back on.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120531/4efe8028/signature-0001.pgp


More information about the freebsd-stable mailing list