Date: Wed, 18 Nov 2009 14:10:20 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: Robert Watson <rwatson@FreeBSD.org> Cc: freebsd-current@freebsd.org, Aristedes Maniatis <ari@ish.com.au> Subject: Re: request: LOADER_ZFS_SUPPORT Message-ID: <4B03F23C.4020308@quip.cz> In-Reply-To: <alpine.BSF.2.00.0911181204220.12162@fledge.watson.org> References: <4B023061.7070203@ish.com.au> <hdtt1c$m23$1@ger.gmane.org> <4B02B4BB.30400@ish.com.au> <4B02BDBE.6050307@quip.cz> <alpine.BSF.2.00.0911181204220.12162@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B03F23C.4020308>