From owner-freebsd-current@FreeBSD.ORG Wed Nov 18 13:10:25 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87C7A106566B for ; Wed, 18 Nov 2009 13:10:25 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3BBB28FC1F for ; Wed, 18 Nov 2009 13:10:24 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 30B3319E023; Wed, 18 Nov 2009 14:10:23 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id D07B019E019; Wed, 18 Nov 2009 14:10:20 +0100 (CET) Message-ID: <4B03F23C.4020308@quip.cz> Date: Wed, 18 Nov 2009 14:10:20 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0 MIME-Version: 1.0 To: Robert Watson References: <4B023061.7070203@ish.com.au> <4B02B4BB.30400@ish.com.au> <4B02BDBE.6050307@quip.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Aristedes Maniatis Subject: Re: request: LOADER_ZFS_SUPPORT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 13:10:25 -0000 Robert Watson wrote: > > On Tue, 17 Nov 2009, Miroslav Lachman wrote: [...] >> If we are talking about freebsd-update... It would be nice if >> freebsd-update leave old kernel available in /boot/ as with source >> upgrade (/boot/kernel.old) at least until second reboot (in case of >> upgrade), because if new kernel failed to boot after first reboot, >> then the machine become unbootable without some kind of LiveFS media. > > This change was made in August, and I agree it was a very good idea: > > r196392 | simon | 2009-08-19 21:47:31 +0100 (Wed, 19 Aug 2009) | 17 lines > > Add support for backing up the old kernel when installing a new kernel > using freebsd-update. This applies to using freebsd-update in "upgrade > mode" and normal freebsd-update on a security branch. > > The backup kernel will be written to /boot/kernel.old, if the directory > does not exist, or the directory was created by freebsd-update in a > previous backup. Otherwise freebsd-update will generate a new directory > name for use by the backup. By default symbol files are not backed up > to save diskspace and avoid filling up the root partition. > > This feature is fully configurable in the freebsd-update config file, > but defaults to enabled. > > MFC after: 1 week (stable/7) > Reviewed by: cperciva > Approved by: re (kib) Thank you for the clarification! I am glad it is committed. note: I am looking in to 7-STABLE (one week old) and it seems it was not MFCed yet. Miroslav Lachman