From owner-freebsd-current@FreeBSD.ORG Sun Aug 14 11:29:36 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 48FA51065672 for ; Sun, 14 Aug 2011 11:29:36 +0000 (UTC) (envelope-from ttsestt@gmail.com) Received: from mail-ey0-f172.google.com (mail-ey0-f172.google.com [209.85.215.172]) by mx1.freebsd.org (Postfix) with ESMTP id CFD338FC0C for ; Sun, 14 Aug 2011 11:29:35 +0000 (UTC) Received: by eye4 with SMTP id 4so2484839eye.31 for ; Sun, 14 Aug 2011 04:29:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=hXDMeABOZFS0WaelNlZbzp9bqrGFpUNB6qiMGNg/NSY=; b=aaU8CXhnGG9lIiypbXqOTPFiGUFDvaBQGlQF7pv5aWK7hb9nNQnZSJ5vf/nLLoCNSt shIuErzHMJreAikZ3uD5AXUN7vMtv2pWyWi/9zHvFPczLCkMkC9XpeU2IPY702BAa4Hi aqVPpevxPR66fmK7iVqOHCzrEp4SE5RsWCoL0= Received: by 10.14.146.66 with SMTP id q42mr358841eej.149.1313321374695; Sun, 14 Aug 2011 04:29:34 -0700 (PDT) Received: from localhost (chomsky.torservers.net [77.247.181.162]) by mx.google.com with ESMTPS id b13sm2107734een.65.2011.08.14.04.29.32 (version=SSLv3 cipher=OTHER); Sun, 14 Aug 2011 04:29:34 -0700 (PDT) From: Test Rat To: Eduardo Morras References: <20110813195127.GA34295@freebsd.org> <35403.3654126853$1313318383@news.gmane.org> Date: Sun, 14 Aug 2011 15:29:21 +0400 In-Reply-To: <35403.3654126853$1313318383@news.gmane.org> (Eduardo Morras's message of "Sun, 14 Aug 2011 12:27:21 +0200") Message-ID: <86sjp4z0xa.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain 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 11:29:36 -0000 Eduardo Morras writes: > At 22:06 13/08/2011, Steven Hartland wrote: >>> 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. There is kgzldr that lets you boot compressed kernels. Try $ gzip /boot/kernel/* $ reboot