From owner-freebsd-questions@FreeBSD.ORG Tue May 19 10:00:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DCBF10656A5 for ; Tue, 19 May 2009 10:00:01 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (macos.cmi.ua.ac.be [143.129.75.1]) by mx1.freebsd.org (Postfix) with ESMTP id 125CB8FC20 for ; Tue, 19 May 2009 10:00:00 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (localhost [127.0.0.1]) by macos.cmi.ua.ac.be (8.14.2/8.14.2) with ESMTP id n4J9xwQk093658 for ; Tue, 19 May 2009 11:59:58 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) Received: from localhost (pdon@localhost) by macos.cmi.ua.ac.be (8.14.2/8.14.2/Submit) with ESMTP id n4J9xwiE093655 for ; Tue, 19 May 2009 11:59:58 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) X-Authentication-Warning: macos.cmi.ua.ac.be: pdon owned process doing -bs Date: Tue, 19 May 2009 11:59:58 +0200 (CEST) From: Pieter Donche X-X-Sender: pdon@macos.cmi.ua.ac.be To: "mail.list freebsd-questions" Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: freebsd-update questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 10:00:02 -0000 Ch 24 updating and upgrading freebsd in the handbook says: The freebsd-update utility can automatically update a GENERIC kernel only. If a custom kernel is in use, it will have to be rebuilt and reinstalled. However, freebsd-update will detect and update the GENERIC kernel in /boot/GENERIC (if it exists) It is a good idea to always keep a copy of the GENERIC kernel in /boot/GENERIC. How is this to be understood? 1. e.g. you have a generic kernel in /boot/kernel and you make a safety copy in /boot/GENERIC # cd /boot/kernel; tar cf - . | (cd /boot/GENERIC; tar xpf -) when running freebsd-update install, will this update BOTH /boot/kernel and /boot/GENERIC or only /boot/kernel ? 2. if you have a modified kernel in /boot/kernel (e.g. for disk quota enabling) and you run freebsd-update install, then it will not make any changes in /boot/kernel. Right ? How does freebsd-update actually detect that there is not a generic kernel in /boot/kernel? If after freebsd-update install, you would do a shutdown -r now (before building a new custom kernel, will this be desastreous?