From owner-freebsd-current@FreeBSD.ORG Sun Aug 14 22:34:57 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 03D99106564A for ; Sun, 14 Aug 2011 22:34:57 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id AB5AA8FC08 for ; Sun, 14 Aug 2011 22:34:56 +0000 (UTC) Received: by gyd10 with SMTP id 10so3373443gyd.13 for ; Sun, 14 Aug 2011 15:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=WOb6CXLYkGtXng53XwyfiHYr+p7gWsZo8gZHs7Ce3vY=; b=YiutjsHCO/Ebx3A1HYRaKcLdUQp+qEyILXOzdd2qzeeqpU9pHkOEWPrcn52latBjXh da2Tonbj6qF2+lvJBPX0bHuDYVEGCyPzKxegLi+V0VWDxifLS6XS6u33fOsdLGIMLauS 3emmUZDuWBdYZFzXfNeXGL+M81amkyQSXvJ0M= Received: by 10.101.102.11 with SMTP id e11mr3211336anm.45.1313361295806; Sun, 14 Aug 2011 15:34:55 -0700 (PDT) Received: from DataIX.net (adsl-99-190-83-173.dsl.klmzmi.sbcglobal.net [99.190.83.173]) by mx.google.com with ESMTPS id c5sm4598901anh.27.2011.08.14.15.34.54 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 14 Aug 2011 15:34:54 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id p7EMYpgO023776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Aug 2011 18:34:52 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id p7EMYoYp023775; Sun, 14 Aug 2011 18:34:50 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Sun, 14 Aug 2011 18:34:50 -0400 From: Jason Hellenthal To: Julian Elischer Message-ID: <20110814223450.GB23401@DataIX.net> References: <20110813195127.GA34295@freebsd.org> <4D6348DC0228459C@> <4E481E0B.2010906@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Content-Disposition: inline In-Reply-To: <4E481E0B.2010906@freebsd.org> Cc: Eduardo Morras , 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 22:34:57 -0000 --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 14, 2011 at 12:12:11PM -0700, Julian Elischer wrote: > On 8/14/11 3:27 AM, Eduardo Morras wrote: > > At 22:06 13/08/2011, Steven Hartland wrote: > >> ----- Original Message ----- From: "Alexander Best"=20 > >> > >> > >>> i just had the following idea: how about instead of copying the=20 > >>> current kernel > >>> to /boot/kernel.old and then installing the new one under=20 > >>> /boot/kernel as the > >>> results of target installkernel, we create a unique directory name=20 > >>> 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=20 > > or -j may be a workaround. We can extract on demand and swap current=20 > > /boot/kernel with new /boot/kernel. Other way of do it is link=20 > > /boot/kernel to current kernel and update it, but i don't know=20 > > (again) if it would work in single user mode. >=20 > What would make more sense to me for thsi would be a kernel name that=20 > was recognised by teh final boot stages as being an exeprimental=20 > kernel and moved to the new location only on successful boot.. Once=20 > you have successfully booted it, then you delete the kernel[-1] and do=20 > the replacement that "make installkernel" now does. >=20 All is fine and dandy with all of these suggestions but has the root filesystem space been bumped up at all yet ? The root filesystem space is merely almost adequte for what we have now... just barely and until it is none of these are feasable especially for existing systems. --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: http://bit.ly/0x89D8547E iQEcBAEBAgAGBQJOSE2JAAoJEJBXh4mJ2FR+m+MH/iWNIoGIpLsrKhG6Xh/A9cS0 z46SBBhh2UJiJpcMEpfEdZqBUZbWjSnYm1cJMP3tO2PL5Hzgi5yDoBpsVyTOs2ui gJ2SX+hyLn5j4UstQXRRq9zBmLkFy7EJ36UIG88UuRXJa0meBO6qW/bp45ebqt1H 3w7oWlZElflHSJ5Mc+hW3Y7rqCmCGIUSzUFf13GkezzARah9OgtHq68zCGw3iiQ2 ow34BYzH96QeHFQVWDI1dDFIs3CK0Z67nabkeg666KD+00M5wcH+vNzWXtvTQoIS 496YOInyIVUPi69dwwLTHVqptM9XKv2W8VIM4QOfE/LHQ6CFoeBGoXMFV8Wqt6c= =9+zJ -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7--