From owner-freebsd-current@FreeBSD.ORG Sun Aug 14 10:39:07 2011 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 6AEE7106566C for ; Sun, 14 Aug 2011 10:39:07 +0000 (UTC) (envelope-from nec556@retena.com) Received: from resmaa13.ono.com (smtp13.ono.com [62.42.230.16]) by mx1.freebsd.org (Postfix) with ESMTP id 0082D8FC0A for ; Sun, 14 Aug 2011 10:39:06 +0000 (UTC) Received: from GogPortatil.retena.com (95.20.146.120) by resmaa13.ono.com (8.5.113) (authenticated as nec556@retena.com) id 4D6348DC0228459C for freebsd-current@freebsd.org; Sun, 14 Aug 2011 12:27:11 +0200 Message-ID: <4D6348DC0228459C@> (added by postmaster@resmaa13.ono.com) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 14 Aug 2011 12:27:21 +0200 To: freebsd-current@freebsd.org From: Eduardo Morras In-Reply-To: References: <20110813195127.GA34295@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Antivirus: AVG for E-mail 10.0.1392 [1520/3832] Subject: Re: [rfc] replacing /boot/kernel.old with a unique directory name 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: Sun, 14 Aug 2011 10:39:07 -0000 At 22:06 13/08/2011, Steven Hartland wrote: >----- Original Message ----- From: "Alexander Best" > >>i just had the following idea: how about instead of copying the >>current kernel >>to /boot/kernel.old and then installing the new one under /boot/kernel as the >>results of target installkernel, we create a unique directory name >>for the old >>kernel? > >The default size of / is likely your biggest problem. Don't know how much compresable is /boot/kernel.old but tar with -z or -j may be a workaround. We can extract on demand and swap current /boot/kernel with new /boot/kernel. Other way of do it is link /boot/kernel to current kernel and update it, but i don't know (again) if it would work in single user mode. > Regards > Steve