From owner-freebsd-current@FreeBSD.ORG Thu Oct 30 02:52:13 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FE0D712 for ; Thu, 30 Oct 2014 02:52:13 +0000 (UTC) Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E55EBF64 for ; Thu, 30 Oct 2014 02:52:12 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id y10so263626wgg.16 for ; Wed, 29 Oct 2014 19:52:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=HK4yn/sV47Xo/h7H/ZlWdj25c5LR6S1QSGfaSpdbTI0=; b=Uy2wT0r67Ah7sLEpt1frrfNn+9dzE9BFXtnojMrVtXBY78TdRFVKPJwVhWTXCnLHYy k0t+97LoVYK1DMxppHkmnES+OwhDxks08H9IqgU8eV0DmWrCUZkQbvvzLCXLOD60jlb6 fxC+Wk0tKeZitsFteWSKMiUOJR5lsDxCngtMCtUomBzdhyWaQSYAh/A4uZx/cAUR+Wad eOpcp9XcrUV3dOjDoJ6EJHgw+ePiyKydL/0OkSdjagtMmqjignEm/lxGZVuWc5rTPrTu MSEqxdTwKU/VYmpz/+ysMblr2VFanR8SQYSDGHC0xFN32YuLwe2sbB6zDnHTioZc/SdT +9qA== X-Gm-Message-State: ALoCoQl7UAQATu0LOmIF9hlR8rR4Y5b/2Bvw5LPpLw1XsEaMiYqDeaiOhK8+NjSsCagsRHdoAHPV X-Received: by 10.180.10.231 with SMTP id l7mr40427601wib.1.1414637525414; Wed, 29 Oct 2014 19:52:05 -0700 (PDT) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id 10sm7126669wjs.21.2014.10.29.19.52.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Oct 2014 19:52:04 -0700 (PDT) Message-ID: <5451A843.90805@multiplay.co.uk> Date: Thu, 30 Oct 2014 02:53:55 +0000 From: Steven Hartland User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Steve Kargl , Ed Maste Subject: Re: HEADS UP: Standalone kernel debug files moving out of /boot/kernel/ References: <54511A7E.1020307@multiplay.co.uk> <20141030023224.GA42236@troutmask.apl.washington.edu> In-Reply-To: <20141030023224.GA42236@troutmask.apl.washington.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 30 Oct 2014 02:52:13 -0000 On 30/10/2014 02:32, Steve Kargl wrote: > On Wed, Oct 29, 2014 at 03:15:50PM -0400, Ed Maste wrote: >> On 29 October 2014 12:49, Steven Hartland wrote: >>> Hmm not sure I like this idea as it would make it more difficult to make a >>> copy / backup a kernel. >>> >>> ATM when I want to copy a kernel for debugging its a one liner, splitting >>> debug symbols off to /usr/lib would prevent this. >> To retain the current behaviour you can set DEBUGDIR= (i.e., empty), >> as the debug file install path is ${DESTDIR}${DEBUGDIR}${KODIR}. > No, you can't. > > su root > cp -pR /boot/kernel /boot/good > > Where does DEBUGDIR enter the picture? The above will copy > both kernel and kernel.symbol to /boot/good. With your scheme > one loses kernel.symbol (along with all other *.symbol files?). > If one escapes to the boot prompt, she can do 'boot /boot/good/kernel', > will the boot process automatically find a (nonexistant?) > /usr/lib/boot/good/kernel.symbol. Indeed, if my understanding of this proposal is correct it will make working with multiple kernels much harder. Making things harder to manage vs saving a little bit of space on the root partition really doesn't sound like a good idea; especially when with the ZFS install, which I would suggest is becoming the norm, the root partition doesn't suffer from space issues anyway.