From owner-freebsd-current@FreeBSD.ORG Sun Aug 14 19:24:29 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 7E92A1065670 for ; Sun, 14 Aug 2011 19:24:29 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3D8AD8FC13 for ; Sun, 14 Aug 2011 19:24:29 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p7EJC7fw055084 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 14 Aug 2011 12:12:09 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4E481E0B.2010906@freebsd.org> Date: Sun, 14 Aug 2011 12:12:11 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Eduardo Morras References: <20110813195127.GA34295@freebsd.org> <4D6348DC0228459C@> (added by postmaster@resmaa13.ono.com) In-Reply-To: <4D6348DC0228459C@> (added by postmaster@resmaa13.ono.com) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org 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 19:24:29 -0000 On 8/14/11 3:27 AM, Eduardo Morras wrote: > 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. What would make more sense to me for thsi would be a kernel name that was recognised by teh final boot stages as being an exeprimental kernel and moved to the new location only on successful boot.. Once you have successfully booted it, then you delete the kernel[-1] and do the replacement that "make installkernel" now does. > >> Regards >> Steve > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" >