From owner-freebsd-current@FreeBSD.ORG Thu Oct 30 09:12:49 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 BEC01F34 for ; Thu, 30 Oct 2014 09:12:49 +0000 (UTC) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) (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 4F695C81 for ; Thu, 30 Oct 2014 09:12:48 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id x12so5163107wgg.4 for ; Thu, 30 Oct 2014 02:12:41 -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=W9Ao90YhLavy4iv5BzpFjXHEJDBHRJgFE1lj7gBC0IE=; b=XHBlcRBNUqO4jSgu1+tCpXdLOlx7b3kuNOt64vI/wCIl6SfZ9dpPgKR/p6cbdbdjEQ EZp7uzauooierXLhUSYff8LeGRiiApSdrYQDeyrmb9ihgJTnYKuQY2zUQeEXThB6f7lM Vod7NJFoQhaEd6H2P7c0dXvqxVaslpQk1Jb2gxZ8jnaMWwoXkUDA/2Rp4svyIsDXEnfi 1Ggc6Ro1rBtt7cA+7HHU0CocDuIcqtIMSoppJbyVFhD2fcCz3xTsTbaBN+163RefC/MM 2r8AaLVBij9XYRSBf/9hlG3rgBPCogN5igE1+VSJW2XMXFpOYuR4uN7l+xzDbqvMm2Ta 4j4Q== X-Gm-Message-State: ALoCoQnF2V3zo/T0M4r/8SpoasU8O2dy9XVKEHL6rCINxlCjgFOi+ZnxeOFObCkAOTbvyg914RuS X-Received: by 10.180.104.99 with SMTP id gd3mr18327643wib.10.1414660361523; Thu, 30 Oct 2014 02:12:41 -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 gm9sm8294150wib.18.2014.10.30.02.12.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Oct 2014 02:12:40 -0700 (PDT) Message-ID: <54520177.5000008@multiplay.co.uk> Date: Thu, 30 Oct 2014 09:14:31 +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: "O'Connor, Daniel" 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> <5451A843.90805@multiplay.co.uk> <076D8745-53C6-4AFE-86D3-FF9B94F4EC76@emc.com> In-Reply-To: <076D8745-53C6-4AFE-86D3-FF9B94F4EC76@emc.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD Current , Ed Maste , Steve Kargl 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 09:12:49 -0000 On 30/10/2014 08:24, O'Connor, Daniel wrote: > On 30 Oct 2014, at 13:23, Steven Hartland wrote: >> 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. > Note that it’s not “a little bit” of space. > [freebsd10 8:21] /boot/kernel >ll kernel *.ko| awk '{i += $5} END {print $5}' > 49312 > [freebsd10 8:21] /boot/kernel >ll *.symbols | awk '{i += $5} END {print $5}’ > 212464 > > i.e. the debug information is more than 4x larger than the code its for (!). That's still a trivial about of space in the grand scheme of things. > I agree managing the symbol files does become significantly more difficult in this case but the patch makes quite a substantial difference to the number of kernels you can keep in / (especially on older installs which have <1GB roots). The better solution is to not use a 1GB root. > Perhaps there could be a flag to disable it just for the kernel that could be put into /etc/make.conf? That way it’s set and forget if you are kernel juggling. Making it a none default option which can be used by those who have got limited space on their root. Regards Steve