From owner-freebsd-current@FreeBSD.ORG Sat Aug 13 20:11:02 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 066921065670; Sat, 13 Aug 2011 20:11:02 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id A59A28FC16; Sat, 13 Aug 2011 20:11:01 +0000 (UTC) Received: by ywo32 with SMTP id 32so1923396ywo.13 for ; Sat, 13 Aug 2011 13:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=/qX5bOm6t/LrEKclzF4aRQD6z4KMc4jYs58uVmlD7Ug=; b=DLyI2rAchxpuLYUrb4kU+zX3Olca+WycgcTmq4P3sraUnK6Pr3yrMK3xsV3dFjAPcW /gAv+LxGEGqqswERykNDMlwSkbM7alOMzsYRJ3kImziKuZrbJf7k6y3mCScOrTw0zmUJ lq9gKefWkhRIqPbK4UgXyZ9bCqKYX7wVkv6yk= Received: by 10.236.175.168 with SMTP id z28mr7504156yhl.75.1313266260933; Sat, 13 Aug 2011 13:11:00 -0700 (PDT) Received: from [10.19.151.101] ([166.205.139.224]) by mx.google.com with ESMTPS id r28sm2824395yhm.24.2011.08.13.13.10.58 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Aug 2011 13:11:00 -0700 (PDT) References: <20110813195127.GA34295@freebsd.org> In-Reply-To: <20110813195127.GA34295@freebsd.org> Mime-Version: 1.0 (iPhone Mail 8L1) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <22EB0C13-A184-446F-A031-A2817CB3BE7D@gmail.com> X-Mailer: iPhone Mail (8L1) From: Garrett Cooper Date: Sat, 13 Aug 2011 13:10:50 -0700 To: Alexander Best 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: Sat, 13 Aug 2011 20:11:02 -0000 On Aug 13, 2011, at 12:51 PM, Alexander Best wrote: > hi there, >=20 > i just had the following idea: how about instead of copying the current ke= rnel > to /boot/kernel.old and then installing the new one under /boot/kernel as t= he > results of target installkernel, we create a unique directory name for the= old > kernel? >=20 > something like /boot/kernel-r${revision}-${/dev/random}? >=20 > that would let people not only boot the previous kernel, but all kernels t= hat > have been replaced by target installkernel. this would make tracking issue= s, > which have been introduced by a certain commit much easier, imho. >=20 > i don't think implementing this logic would be that difficult. the only pr= oblem > i see is with ${/dev/random} in the case where people are running a kernel= > without /dev/{u}random support. Why not just use INSTKERNNAME? -Garrett=